#164F9F#164F9F
#164F9F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.142 H 258.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #164F9F |
|---|---|
| RGB | rgb(22, 79, 159) |
| HSL | hsl(215, 76%, 35%) |
| HSV | hsv(215, 86%, 62%) |
| CMYK | cmyk(86.2%, 50.3%, 0%, 37.6%) |
| CIE-LAB | lab(34.53, 13.29, -48.43) |
| CIE-LCH | lch(34.53, 50.22, 285.34°) |
| OKLab | oklab(43.97% -0.0291 -0.1395) |
| OKLCH | oklch(43.97% 0.142 258.2) |
| XYZ | xyz(9.3826, 8.2646, 33.8949) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.66
Cobalt (survey)
#1E488F
ΔE00 3.02
Cobalt
#0047AB
ΔE00 3.35
Sapphire
#0F52BA
ΔE00 3.55
Light Navy
#155084
ΔE00 4.09
Light Navy Blue
#2E5A88
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#164F9F #9F6616
analogous
#16949F #164F9F #21169F
triadic
#164F9F #9F164F #4F9F16
tetradic
#164F9F #9F1694 #9F6616 #169F21
square
#164F9F #9F1694 #9F6616 #169F21
split-complementary
#164F9F #9F2116 #949F16
monochromatic
#071A33 #0F3469 #164F9F #1D6AD5 #4A8BE6
Accessibility & contrast
On white
7.91
#164F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#164F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #164F9F
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##164F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##164F9F | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D58A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #164f9f; /* rgb */ color: rgb(22, 79, 159); /* oklch */ color: oklch(44.0% 0.142 258.2);
Tailwind
colors: {
custom: {
50: '#6d7fbc',
500: '#164f9f',
950: '#000000',
},
}SCSS
$custom: #164f9f; $custom-light: #6d7fbc; $custom-dark: #000000;
JSON
{
"hex": "#164f9f",
"rgb": {
"r": 22,
"g": 79,
"b": 159
},
"hsl": {
"h": 215.036,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.43971,
"c": 0.14248,
"h": 258.2
},
"luminance": 0.08266
}Semantic roles & 50–950 ramp
primary
#164F9F
secondary
#C7934A
accent
#A436F2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81