#162C74#162C74
#162C74 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.127 H 266.3°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #162C74 |
|---|---|
| RGB | rgb(22, 44, 116) |
| HSL | hsl(226, 68%, 27%) |
| HSV | hsv(226, 81%, 45%) |
| CMYK | cmyk(81%, 62.1%, 0%, 54.5%) |
| CIE-LAB | lab(20.95, 20.02, -43.80) |
| CIE-LCH | lch(20.95, 48.16, 294.57°) |
| OKLab | oklab(32.61% -0.0082 -0.1266) |
| OKLCH | oklch(32.61% 0.127 266.3) |
| XYZ | xyz(4.3828, 3.2324, 16.9125) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.84
Midnight Blue
#191970
ΔE00 6.19
Marine Blue
#01386A
ΔE00 6.69
Navy Blue
#1B2A4A
ΔE00 7.98
Darkish Blue
#014182
ΔE00 8.10
Royal
#0C1793
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162C74 #745E16
analogous
#165B74 #162C74 #2F1674
triadic
#162C74 #74162C #2C7416
tetradic
#162C74 #74165B #745E16 #16742F
square
#162C74 #74165B #745E16 #16742F
split-complementary
#162C74 #742F16 #5B7416
monochromatic
#050A1A #0C1841 #162C74 #2040A7 #2D55D7
Accessibility & contrast
On white
12.75
#162C74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#162C74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162C74
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162C74 | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #162c74; /* rgb */ color: rgb(22, 44, 116); /* oklch */ color: oklch(32.6% 0.127 266.3);
Tailwind
colors: {
custom: {
50: '#64649d',
500: '#162c74',
950: '#000000',
},
}SCSS
$custom: #162c74; $custom-light: #64649d; $custom-dark: #000000;
JSON
{
"hex": "#162c74",
"rgb": {
"r": 22,
"g": 44,
"b": 116
},
"hsl": {
"h": 225.957,
"s": 68.116,
"l": 27.059
},
"oklch": {
"l": 0.32607,
"c": 0.12683,
"h": 266.3
},
"luminance": 0.03233
}Semantic roles & 50–950 ramp
primary
#162C74
secondary
#AA903C
accent
#C23DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E