# #2a4286 color: Official Violet

#2a4286 is rgb(42, 66, 134) in RGB and oklch(39.91% 0.11759 266.487) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a4286 |
| RGB | rgb(42, 66, 134) |
| HSL | hsl(224.35, 52.27%, 34.51%) |
| HSB / HSV | hsv(224.35 68.66% 52.55%) |
| HWB | hwb(224.35 16.47% 47.45%) |
| CMYK | cmyk(69% 51% 0% 47%) |
| Lab | lab(29.07 9.41 -41.76) |
| LCH | lch(29.07 42.8 282.7) |
| OKLab | oklab(39.91% -0.00721 -0.11737) |
| OKLCH | oklch(39.91% 0.11759 266.487) |
| Display P3 | color(display-p3 0.18532 0.25631 0.50788) |
| Rec. 2020 | color(rec2020 0.16691 0.19729 0.45537) |
| Adobe RGB | color(a98-rgb 0.2093 0.26629 0.51343) |
| ProPhoto RGB | color(prophoto-rgb 0.21669 0.20278 0.42366) |
| Linear sRGB | color(srgb-linear 0.02315 0.05448 0.2384) |
| XYZ D65 | color(xyz-d65 0.07206 0.0611 0.23355) |
| XYZ D50 | color(xyz-d50 0.06519 0.05866 0.17585) |
| SwiftUI | Color(red: 0.165, green: 0.259, blue: 0.525) |
| UIKit | UIColor(red: 0.165, green: 0.259, blue: 0.525, alpha: 1) |
| Flutter / Compose | Color(0xFF2A4286) |
| Android XML | #2A4286 |

## 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.45:1
- Contrast with black: 2.22:1

## Tints

#2a4286, #3c5493, #50669f, #6479ab, #788bb8, #8d9ec4, #a3b1d0, #b9c4dc, #d0d7e8, #e7ebf3

## Shades

#2a4286, #233874, #1c2f62, #162551, #101c40, #0a1430, #050b21, #020513, #010106, #000001

## Tones

#2a4286, #2d4380, #30447a, #334574, #36466e, #394667, #3c4761, #3f475b, #424755, #44474e

## Harmonies

- Complementary: #2a4286, #5f4200
- Split: #2a4286, #743100, #454e00
- Analogous: #2a4286, #004e7b, #4f367e
- Triadic: #2a4286, #7a2723, #04571b
- Tetradic: #2a4286, #672c68, #5f4200, #04571b
- Square: #2a4286, #762549, #5f4200, #005746
- Monochromatic: #2a4286, #02003e, #0e2061, #4965ac, #6b89d3

## Questions about #2a4286

### What color is #2a4286?

#2a4286 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(42, 66, 134), in HSL hsl(224.35, 52.27%, 34.51%) and in OKLCH oklch(39.91% 0.11759 266.487).

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

The complementary color of #2a4286 is #5f4200. For a calmer combination use the analogous colors #004e7b and #4f367e. The triadic partners are #7a2723 and #04571b.

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

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

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

#2a4286 is a cool color. In OKLCH its hue is 266 degrees, its lightness 39.9% and its chroma 0.118.
