#162F74#162F74
#162F74 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.3% C 0.123 H 265.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).
Color values
| HEX | #162F74 |
|---|---|
| RGB | rgb(22, 47, 116) |
| HSL | hsl(224, 68%, 27%) |
| HSV | hsv(224, 81%, 45%) |
| CMYK | cmyk(81%, 59.5%, 0%, 54.5%) |
| CIE-LAB | lab(21.81, 17.87, -42.39) |
| CIE-LCH | lch(21.81, 46.01, 292.86°) |
| OKLab | oklab(33.25% -0.0104 -0.1224) |
| OKLCH | oklch(33.25% 0.123 265.1) |
| XYZ | xyz(4.4987, 3.4640, 16.9511) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.20
Marine Blue
#01386A
ΔE00 5.70
Darkish Blue
#014182
ΔE00 7.08
Midnight Blue
#191970
ΔE00 7.29
Navy Blue
#1B2A4A
ΔE00 7.74
Twilight Blue
#0A437A
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162F74 #745B16
analogous
#165E74 #162F74 #2C1674
triadic
#162F74 #74162F #2F7416
tetradic
#162F74 #74165E #745B16 #16742C
square
#162F74 #74165E #745B16 #16742C
split-complementary
#162F74 #742C16 #5E7416
monochromatic
#050A1A #0C1A41 #162F74 #2044A7 #2D5AD7
Accessibility & contrast
On white
12.40
#162F74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#162F74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162F74
12.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162F74 | 1.00 | 12.40 | 1.69 | 12.40 |
| #FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #162f74; /* rgb */ color: rgb(22, 47, 116); /* oklch */ color: oklch(33.3% 0.123 265.1);
Tailwind
colors: {
custom: {
50: '#64679d',
500: '#162f74',
950: '#000000',
},
}SCSS
$custom: #162f74; $custom-light: #64679d; $custom-dark: #000000;
JSON
{
"hex": "#162f74",
"rgb": {
"r": 22,
"g": 47,
"b": 116
},
"hsl": {
"h": 224.043,
"s": 68.116,
"l": 27.059
},
"oklch": {
"l": 0.33253,
"c": 0.12282,
"h": 265.1
},
"luminance": 0.03465
}Semantic roles & 50–950 ramp
primary
#162F74
secondary
#AA8D3C
accent
#BD3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E