# #2a4181 color: Official Violet

#2a4181 is rgb(42, 65, 129) in RGB and oklch(39.314% 0.11147 266.462) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2a4181 |
| RGB | rgb(42, 65, 129) |
| HSL | hsl(224.14, 50.88%, 33.53%) |
| HSB / HSV | hsv(224.14 67.44% 50.59%) |
| HWB | hwb(224.14 16.47% 49.41%) |
| CMYK | cmyk(67% 50% 0% 49%) |
| Lab | lab(28.47 8.47 -39.62) |
| LCH | lch(28.47 40.51 282.06) |
| OKLab | oklab(39.314% -0.00688 -0.11126) |
| OKLCH | oklch(39.314% 0.11147 266.462) |
| Display P3 | color(display-p3 0.18432 0.25248 0.48912) |
| Rec. 2020 | color(rec2020 0.1631 0.19308 0.43548) |
| Adobe RGB | color(a98-rgb 0.20792 0.26266 0.49465) |
| ProPhoto RGB | color(prophoto-rgb 0.2106 0.19888 0.40509) |
| Linear sRGB | color(srgb-linear 0.02315 0.05286 0.21953) |
| XYZ D65 | color(xyz-d65 0.06807 0.05858 0.21541) |
| XYZ D50 | color(xyz-d50 0.06187 0.05635 0.16222) |
| SwiftUI | Color(red: 0.165, green: 0.255, blue: 0.506) |
| UIKit | UIColor(red: 0.165, green: 0.255, blue: 0.506, alpha: 1) |
| Flutter / Compose | Color(0xFF2A4181) |
| Android XML | #2A4181 |

## 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.67:1
- Contrast with black: 2.17:1

## Tints

#2a4181, #3c538e, #50659b, #6478a8, #788ab4, #8d9dc1, #a3b0cd, #b9c3da, #d0d7e6, #e7ebf3

## Shades

#2a4181, #23376f, #1c2e5e, #16254e, #101c3e, #0a132e, #050b1f, #020512, #010106, #000001

## Tones

#2a4181, #2d427b, #304376, #324470, #35446a, #384564, #3b455e, #3e4658, #404652, #43464c

## Harmonies

- Complementary: #2a4181, #5d4000
- Split: #2a4181, #703100, #434c00
- Analogous: #2a4181, #004c79, #4d367a
- Triadic: #2a4181, #762823, #0b551d
- Tetradic: #2a4181, #632c65, #5d4000, #0b551d
- Square: #2a4181, #722647, #5d4000, #005544
- Monochromatic: #2a4181, #02003a, #0e205d, #4963a7, #6b87ce

## Questions about #2a4181

### What color is #2a4181?

#2a4181 is soft dark blue. The closest named color is Official Violet. In RGB it is rgb(42, 65, 129), in HSL hsl(224.14, 50.88%, 33.53%) and in OKLCH oklch(39.314% 0.11147 266.462).

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

The complementary color of #2a4181 is #5d4000. For a calmer combination use the analogous colors #004c79 and #4d367a. The triadic partners are #762823 and #0b551d.

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

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

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

#2a4181 is a cool color. In OKLCH its hue is 266 degrees, its lightness 39.3% and its chroma 0.111.
