#164FB4#164FB4
#164FB4 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.171 H 261.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #164FB4 |
|---|---|
| RGB | rgb(22, 79, 180) |
| HSL | hsl(218, 78%, 40%) |
| HSV | hsv(218, 88%, 71%) |
| CMYK | cmyk(87.8%, 56.1%, 0%, 29.4%) |
| CIE-LAB | lab(36.09, 21.77, -58.41) |
| CIE-LCH | lch(36.09, 62.33, 290.44°) |
| OKLab | oklab(45.66% -0.0266 -0.1688) |
| OKLCH | oklch(45.66% 0.171 261) |
| XYZ | xyz(11.3621, 9.0564, 44.3204) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.23
Cobalt
#0047AB
ΔE00 2.73
Cobalt (survey)
#1E488F
ΔE00 5.09
Dusk Blue
#26538D
ΔE00 5.21
Blue Blue
#2242C7
ΔE00 5.87
Denim Blue
#3B5B92
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#164FB4 #B47B16
analogous
#169EB4 #164FB4 #2C16B4
triadic
#164FB4 #B4164F #4FB416
tetradic
#164FB4 #B4169E #B47B16 #16B42C
square
#164FB4 #B4169E #B47B16 #16B42C
split-complementary
#164FB4 #B42C16 #9EB416
monochromatic
#091F47 #0F377D #164FB4 #2369E4 #5A8EEB
Accessibility & contrast
On white
7.47
#164FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#164FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #164FB4
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##164FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##164FB4 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #164fb4; /* rgb */ color: rgb(22, 79, 180); /* oklch */ color: oklch(45.7% 0.171 261.0);
Tailwind
colors: {
custom: {
50: '#737fcb',
500: '#164fb4',
950: '#000000',
},
}SCSS
$custom: #164fb4; $custom-light: #737fcb; $custom-dark: #000000;
JSON
{
"hex": "#164fb4",
"rgb": {
"r": 22,
"g": 79,
"b": 180
},
"hsl": {
"h": 218.354,
"s": 78.218,
"l": 39.608
},
"oklch": {
"l": 0.45659,
"c": 0.1709,
"h": 261
},
"luminance": 0.09058
}Semantic roles & 50–950 ramp
primary
#164FB4
secondary
#CEA358
accent
#AF33F5
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82