#162274#162274
#162274 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.140 H 269.2°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).
Color values
| HEX | #162274 |
|---|---|
| RGB | rgb(22, 34, 116) |
| HSL | hsl(232, 68%, 27%) |
| HSV | hsv(232, 81%, 45%) |
| CMYK | cmyk(81%, 70.7%, 0%, 54.5%) |
| CIE-LAB | lab(18.25, 27.05, -48.22) |
| CIE-LCH | lch(18.25, 55.29, 299.29°) |
| OKLab | oklab(30.62% -0.0019 -0.1396) |
| OKLCH | oklch(30.62% 0.14 269.2) |
| XYZ | xyz(4.0542, 2.5751, 16.8030) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.74
Royal
#0C1793
ΔE00 5.90
Dark Royal Blue
#02066F
ΔE00 6.63
Darkblue (survey)
#030764
ΔE00 6.75
Deep Blue
#040273
ΔE00 7.32
Marine
#042E60
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162274 #746816
analogous
#165174 #162274 #391674
triadic
#162274 #741622 #227416
tetradic
#162274 #741651 #746816 #167439
square
#162274 #741651 #746816 #167439
split-complementary
#162274 #743916 #517416
monochromatic
#05081A #0C1341 #162274 #2031A7 #2D43D7
Accessibility & contrast
On white
13.86
#162274 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#162274 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162274
13.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162274 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162274 | 1.00 | 13.86 | 1.52 | 13.86 |
| #FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #162274; /* rgb */ color: rgb(22, 34, 116); /* oklch */ color: oklch(30.6% 0.140 269.2);
Tailwind
colors: {
custom: {
50: '#655d9d',
500: '#162274',
950: '#000000',
},
}SCSS
$custom: #162274; $custom-light: #655d9d; $custom-dark: #000000;
JSON
{
"hex": "#162274",
"rgb": {
"r": 22,
"g": 34,
"b": 116
},
"hsl": {
"h": 232.34,
"s": 68.116,
"l": 27.059
},
"oklch": {
"l": 0.30619,
"c": 0.1396,
"h": 269.2
},
"luminance": 0.02576
}Semantic roles & 50–950 ramp
primary
#162274
secondary
#AA9C3C
accent
#D53DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E