#163F9E#163F9E
#163F9E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.161 H 263.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #163F9E |
|---|---|
| RGB | rgb(22, 63, 158) |
| HSL | hsl(222, 76%, 35%) |
| HSV | hsv(222, 86%, 62%) |
| CMYK | cmyk(86.1%, 60.1%, 0%, 38%) |
| CIE-LAB | lab(29.89, 23.81, -55.35) |
| CIE-LCH | lch(29.89, 60.25, 293.27°) |
| OKLab | oklab(40.43% -0.0188 -0.1601) |
| OKLCH | oklch(40.43% 0.161 263.3) |
| XYZ | xyz(8.2777, 6.1932, 33.1002) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.18
Sapphire (survey)
#2138AB
ΔE00 3.81
Cobalt (survey)
#1E488F
ΔE00 4.18
Darkish Blue
#014182
ΔE00 5.34
Blue Blue
#2242C7
ΔE00 6.05
Blueberry
#464196
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#163F9E #9E7516
analogous
#16839E #163F9E #31169E
triadic
#163F9E #9E163F #3F9E16
tetradic
#163F9E #9E1683 #9E7516 #169E31
square
#163F9E #9E1683 #9E7516 #169E31
split-complementary
#163F9E #9E3116 #839E16
monochromatic
#071433 #0F2A68 #163F9E #1D54D4 #4978E6
Accessibility & contrast
On white
9.38
#163F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#163F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #163F9E
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##163F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##163F9E | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #163f9e; /* rgb */ color: rgb(22, 63, 158); /* oklch */ color: oklch(40.4% 0.161 263.3);
Tailwind
colors: {
custom: {
50: '#6e73bb',
500: '#163f9e',
950: '#000000',
},
}SCSS
$custom: #163f9e; $custom-light: #6e73bb; $custom-dark: #000000;
JSON
{
"hex": "#163f9e",
"rgb": {
"r": 22,
"g": 63,
"b": 158
},
"hsl": {
"h": 221.912,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.4043,
"c": 0.16123,
"h": 263.3
},
"luminance": 0.06194
}Semantic roles & 50–950 ramp
primary
#163F9E
secondary
#C7A149
accent
#B936F2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81