#162C75#162C75
#162C75 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.7% C 0.128 H 266.3°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).
Color values
| HEX | #162C75 |
|---|---|
| RGB | rgb(22, 44, 117) |
| HSL | hsl(226, 68%, 27%) |
| HSV | hsv(226, 81%, 46%) |
| CMYK | cmyk(81.2%, 62.4%, 0%, 54.1%) |
| CIE-LAB | lab(21.04, 20.43, -44.30) |
| CIE-LCH | lch(21.04, 48.78, 294.76°) |
| OKLab | oklab(32.7% -0.0082 -0.128) |
| OKLCH | oklch(32.7% 0.128 266.3) |
| XYZ | xyz(4.4413, 3.2558, 17.2205) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.98
Midnight Blue
#191970
ΔE00 6.13
Marine Blue
#01386A
ΔE00 6.76
Darkish Blue
#014182
ΔE00 8.11
Navy Blue
#1B2A4A
ΔE00 8.13
Royal
#0C1793
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#162C75 #755F16
analogous
#165C75 #162C75 #2F1675
triadic
#162C75 #75162C #2C7516
tetradic
#162C75 #75165C #755F16 #16752F
square
#162C75 #75165C #755F16 #16752F
split-complementary
#162C75 #752F16 #5C7516
monochromatic
#050A1A #0C1941 #162C75 #203FA9 #2E55D8
Accessibility & contrast
On white
12.72
#162C75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#162C75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #162C75
12.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##162C75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##162C75 | 1.00 | 12.72 | 1.65 | 12.72 |
| #FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #162c75; /* rgb */ color: rgb(22, 44, 117); /* oklch */ color: oklch(32.7% 0.128 266.3);
Tailwind
colors: {
custom: {
50: '#64649d',
500: '#162c75',
950: '#000000',
},
}SCSS
$custom: #162c75; $custom-light: #64649d; $custom-dark: #000000;
JSON
{
"hex": "#162c75",
"rgb": {
"r": 22,
"g": 44,
"b": 117
},
"hsl": {
"h": 226.105,
"s": 68.345,
"l": 27.255
},
"oklch": {
"l": 0.32701,
"c": 0.12827,
"h": 266.3
},
"luminance": 0.03256
}Semantic roles & 50–950 ramp
primary
#162C75
secondary
#AB913C
accent
#C33DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E