# #2a4182 color: Official Violet

#2a4182 is rgb(42, 65, 130) in RGB and oklch(39.388% 0.11297 266.582) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a4182 |
| RGB | rgb(42, 65, 130) |
| HSL | hsl(224.32, 51.16%, 33.73%) |
| HSB / HSV | hsv(224.32 67.69% 50.98%) |
| HWB | hwb(224.32 16.47% 49.02%) |
| CMYK | cmyk(68% 50% 0% 49%) |
| Lab | lab(28.53 8.78 -40.14) |
| LCH | lch(28.53 41.09 282.34) |
| OKLab | oklab(39.388% -0.00674 -0.11277) |
| OKLCH | oklch(39.388% 0.11297 266.582) |
| Display P3 | color(display-p3 0.18432 0.25248 0.49284) |
| Rec. 2020 | color(rec2020 0.16356 0.19318 0.43942) |
| Adobe RGB | color(a98-rgb 0.20792 0.26266 0.49839) |
| ProPhoto RGB | color(prophoto-rgb 0.2116 0.19909 0.40874) |
| Linear sRGB | color(srgb-linear 0.02315 0.05286 0.22323) |
| XYZ D65 | color(xyz-d65 0.06874 0.05884 0.21893) |
| XYZ D50 | color(xyz-d50 0.06239 0.05658 0.16486) |
| SwiftUI | Color(red: 0.165, green: 0.255, blue: 0.51) |
| UIKit | UIColor(red: 0.165, green: 0.255, blue: 0.51, alpha: 1) |
| Flutter / Compose | Color(0xFF2A4182) |
| Android XML | #2A4182 |

## 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.65:1
- Contrast with black: 2.18:1

## Tints

#2a4182, #3c538f, #50659c, #6478a8, #788ab5, #8d9dc1, #a3b0ce, #b9c4da, #d0d7e7, #e7ebf3

## Shades

#2a4182, #233770, #1c2e5f, #16254e, #101c3e, #0a132f, #050b20, #020512, #010106, #000001

## Tones

#2a4182, #2d427c, #304376, #324471, #35456b, #384565, #3b465f, #3e4659, #404653, #43464c

## Harmonies

- Complementary: #2a4182, #5d4100
- Split: #2a4182, #713100, #434c00
- Analogous: #2a4182, #004c79, #4d367a
- Triadic: #2a4182, #772723, #09551c
- Tetradic: #2a4182, #642c65, #5d4100, #09551c
- Square: #2a4182, #722647, #5d4100, #005645
- Monochromatic: #2a4182, #02003b, #0e1f5e, #4964a8, #6b88cf

## Questions about #2a4182

### What color is #2a4182?

#2a4182 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(42, 65, 130), in HSL hsl(224.32, 51.16%, 33.73%) and in OKLCH oklch(39.388% 0.11297 266.582).

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

The complementary color of #2a4182 is #5d4100. For a calmer combination use the analogous colors #004c79 and #4d367a. The triadic partners are #772723 and #09551c.

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

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

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

#2a4182 is a cool color. In OKLCH its hue is 267 degrees, its lightness 39.4% and its chroma 0.113.
