#164A9F#164A9F
#164A9F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.149 H 260.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #164A9F |
|---|---|
| RGB | rgb(22, 74, 159) |
| HSL | hsl(217, 76%, 35%) |
| HSV | hsv(217, 86%, 62%) |
| CMYK | cmyk(86.2%, 53.5%, 0%, 37.6%) |
| CIE-LAB | lab(33.07, 16.68, -50.79) |
| CIE-LCH | lch(33.07, 53.46, 288.18°) |
| OKLab | oklab(42.86% -0.0256 -0.1465) |
| OKLCH | oklch(42.86% 0.149 260.1) |
| XYZ | xyz(9.0354, 7.5702, 33.7791) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.95
Cobalt (survey)
#1E488F
ΔE00 2.13
Dusk Blue
#26538D
ΔE00 4.01
Sapphire
#0F52BA
ΔE00 4.08
Darkish Blue
#014182
ΔE00 4.73
Light Navy
#155084
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#164A9F #9F6B16
analogous
#168F9F #164A9F #26169F
triadic
#164A9F #9F164A #4A9F16
tetradic
#164A9F #9F168F #9F6B16 #169F26
square
#164A9F #9F168F #9F6B16 #169F26
split-complementary
#164A9F #9F2616 #8F9F16
monochromatic
#071833 #0F3169 #164A9F #1D63D5 #4A85E6
Accessibility & contrast
On white
8.35
#164A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#164A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #164A9F
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##164A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##164A9F | 1.00 | 8.35 | 2.51 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0754A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #164a9f; /* rgb */ color: rgb(22, 74, 159); /* oklch */ color: oklch(42.9% 0.149 260.1);
Tailwind
colors: {
custom: {
50: '#6e7bbc',
500: '#164a9f',
950: '#000000',
},
}SCSS
$custom: #164a9f; $custom-light: #6e7bbc; $custom-dark: #000000;
JSON
{
"hex": "#164a9f",
"rgb": {
"r": 22,
"g": 74,
"b": 159
},
"hsl": {
"h": 217.226,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.42857,
"c": 0.14873,
"h": 260.1
},
"luminance": 0.07571
}Semantic roles & 50–950 ramp
primary
#164A9F
secondary
#C7984A
accent
#AB36F2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080912
muted
#7B7B81