# #2a4284 color: Official Violet

#2a4284 is rgb(42, 66, 132) in RGB and oklch(39.76% 0.11462 266.26) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a4284 |
| RGB | rgb(42, 66, 132) |
| HSL | hsl(224, 51.72%, 34.12%) |
| HSB / HSV | hsv(224 68.18% 51.76%) |
| HWB | hwb(224 16.47% 48.24%) |
| CMYK | cmyk(68% 50% 0% 48%) |
| Lab | lab(28.95 8.78 -40.71) |
| LCH | lch(28.95 41.65 282.17) |
| OKLab | oklab(39.76% -0.00748 -0.11437) |
| OKLCH | oklch(39.76% 0.11462 266.26) |
| Display P3 | color(display-p3 0.18532 0.25631 0.50042) |
| Rec. 2020 | color(rec2020 0.16598 0.19708 0.44747) |
| Adobe RGB | color(a98-rgb 0.2093 0.26629 0.50594) |
| ProPhoto RGB | color(prophoto-rgb 0.21465 0.20235 0.41629) |
| Linear sRGB | color(srgb-linear 0.02315 0.05448 0.23074) |
| XYZ D65 | color(xyz-d65 0.07067 0.06054 0.22627) |
| XYZ D50 | color(xyz-d50 0.06409 0.0582 0.17038) |
| SwiftUI | Color(red: 0.165, green: 0.259, blue: 0.518) |
| UIKit | UIColor(red: 0.165, green: 0.259, blue: 0.518, alpha: 1) |
| Flutter / Compose | Color(0xFF2A4284) |
| Android XML | #2A4284 |

## 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.5:1
- Contrast with black: 2.21:1

## Tints

#2a4284, #3c5491, #50669d, #6479aa, #788bb6, #8e9ec3, #a3b1cf, #bac4db, #d0d7e7, #e7ebf3

## Shades

#2a4284, #233872, #1c2f60, #16254f, #101c3f, #0a142f, #050b20, #020512, #010106, #000001

## Tones

#2a4284, #2d437e, #304478, #334572, #36466c, #394666, #3c4760, #3e475a, #414754, #44474d

## Harmonies

- Complementary: #2a4284, #5f4200
- Split: #2a4284, #733200, #454d00
- Analogous: #2a4284, #004e7a, #4e367d
- Triadic: #2a4284, #792724, #0a561c
- Tetradic: #2a4284, #652d67, #5f4200, #0a561c
- Square: #2a4284, #742649, #5f4200, #005745
- Monochromatic: #2a4284, #02003c, #0e205f, #4965aa, #6b89d1

## Questions about #2a4284

### What color is #2a4284?

#2a4284 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(42, 66, 132), in HSL hsl(224, 51.72%, 34.12%) and in OKLCH oklch(39.76% 0.11462 266.26).

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

The complementary color of #2a4284 is #5f4200. For a calmer combination use the analogous colors #004e7a and #4e367d. The triadic partners are #792724 and #0a561c.

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

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

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

#2a4284 is a cool color. In OKLCH its hue is 266 degrees, its lightness 39.8% and its chroma 0.115.
