#163F8B#163F8B
#163F8B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.135 H 261.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #163F8B |
|---|---|
| RGB | rgb(22, 63, 139) |
| HSL | hsl(219, 73%, 32%) |
| HSV | hsv(219, 84%, 55%) |
| CMYK | cmyk(84.2%, 54.7%, 0%, 45.5%) |
| CIE-LAB | lab(28.35, 16.07, -46.24) |
| CIE-LCH | lch(28.35, 48.95, 289.16°) |
| OKLab | oklab(38.78% -0.0202 -0.1334) |
| OKLCH | oklch(38.78% 0.135 261.4) |
| XYZ | xyz(6.7669, 5.5888, 25.1432) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.89
Cobalt (survey)
#1E488F
ΔE00 2.92
Twilight Blue
#0A437A
ΔE00 4.10
Cobalt
#0047AB
ΔE00 4.68
Marine Blue
#01386A
ΔE00 5.32
Prussian Blue
#004577
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#163F8B #8B6216
analogous
#167A8B #163F8B #27168B
triadic
#163F8B #8B163F #3F8B16
tetradic
#163F8B #8B167A #8B6216 #168B27
square
#163F8B #8B167A #8B6216 #168B27
split-complementary
#163F8B #8B2716 #7A8B16
monochromatic
#050F21 #0E2756 #163F8B #1E57C0 #3B75E0
Accessibility & contrast
On white
9.92
#163F8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#163F8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #163F8B
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##163F8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##163F8B | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#02488E
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #163f8b; /* rgb */ color: rgb(22, 63, 139); /* oklch */ color: oklch(38.8% 0.135 261.4);
Tailwind
colors: {
custom: {
50: '#6973ad',
500: '#163f8b',
950: '#000000',
},
}SCSS
$custom: #163f8b; $custom-light: #6973ad; $custom-dark: #000000;
JSON
{
"hex": "#163f8b",
"rgb": {
"r": 22,
"g": 63,
"b": 139
},
"hsl": {
"h": 218.974,
"s": 72.671,
"l": 31.569
},
"oklch": {
"l": 0.38781,
"c": 0.13488,
"h": 261.4
},
"luminance": 0.0559
}Semantic roles & 50–950 ramp
primary
#163F8B
secondary
#BF923E
accent
#AF38EF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F