# #2a4186 color: Official Violet

#2a4186 is rgb(42, 65, 134) in RGB and oklch(39.689% 0.11892 267.007) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2a4186

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a4186 |
| RGB | rgb(42, 65, 134) |
| HSL | hsl(225, 52.27%, 34.51%) |
| HSB / HSV | hsv(225 68.66% 52.55%) |
| HWB | hwb(225 16.47% 47.45%) |
| CMYK | cmyk(69% 51% 0% 47%) |
| Lab | lab(28.77 10.05 -42.24) |
| LCH | lch(28.77 43.42 283.38) |
| OKLab | oklab(39.689% -0.00621 -0.11876) |
| OKLCH | oklch(39.689% 0.11892 267.007) |
| Display P3 | color(display-p3 0.18432 0.25248 0.50775) |
| Rec. 2020 | color(rec2020 0.16542 0.19361 0.45521) |
| Adobe RGB | color(a98-rgb 0.20792 0.26266 0.51336) |
| ProPhoto RGB | color(prophoto-rgb 0.21568 0.19995 0.42345) |
| Linear sRGB | color(srgb-linear 0.02315 0.05286 0.2384) |
| XYZ D65 | color(xyz-d65 0.07148 0.05994 0.23335) |
| XYZ D50 | color(xyz-d50 0.06457 0.0575 0.17569) |
| SwiftUI | Color(red: 0.165, green: 0.255, blue: 0.525) |
| UIKit | UIColor(red: 0.165, green: 0.255, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF2A4186) |
| Android XML | #2A4186 |

## Facts

- Closest name: Official Violet
- Hue family: Blue, soft dark blue
- Closest Tailwind class: blue-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 9.55:1
- Contrast with black: 2.2:1

## Tints

#2a4186, #3c5393, #4f669f, #6378ab, #788bb8, #8d9dc4, #a3b0d0, #b9c4dc, #d0d7e8, #e7ebf3

## Shades

#2a4186, #233774, #1c2e62, #162551, #101c40, #0a1330, #050b21, #020513, #010106, #000001

## Tones

#2a4186, #2d4280, #30437a, #334474, #35456d, #384667, #3b4661, #3e475b, #414754, #44474d

## Harmonies

- Complementary: #2a4186, #5e4200
- Split: #2a4186, #743100, #444d00
- Analogous: #2a4186, #004d7b, #4f357e
- Triadic: #2a4186, #7a2521, #00571b
- Tetradic: #2a4186, #672b67, #5e4200, #00571b
- Square: #2a4186, #752448, #5e4200, #005746
- Monochromatic: #2a4186, #02003e, #0e1f61, #4964ac, #6b88d3

## Questions about #2a4186

### What color is #2a4186?

#2a4186 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(42, 65, 134), in HSL hsl(225, 52.27%, 34.51%) and in OKLCH oklch(39.689% 0.11892 267.007).

### What colors go well with #2a4186?

The complementary color of #2a4186 is #5e4200. For a calmer combination use the analogous colors #004d7b and #4f357e. The triadic partners are #7a2521 and #00571b.

### Is white or black text more readable on #2a4186?

White text reads better on #2a4186: white gives a contrast ratio of 9.55:1 and black gives 2.2:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #2a4186 a warm or cool color?

#2a4186 is a cool color. In OKLCH its hue is 267 degrees, its lightness 39.7% and its chroma 0.119.
