#163F7E#163F7E
#163F7E is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.116 H 259.1°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #163F7E |
|---|---|
| RGB | rgb(22, 63, 126) |
| HSL | hsl(216, 70%, 29%) |
| HSV | hsv(216, 83%, 49%) |
| CMYK | cmyk(82.5%, 50%, 0%, 50.6%) |
| CIE-LAB | lab(27.38, 10.67, -39.71) |
| CIE-LCH | lch(27.38, 41.12, 285.04°) |
| OKLab | oklab(37.73% -0.022 -0.1141) |
| OKLCH | oklch(37.73% 0.116 259.1) |
| XYZ | xyz(5.8729, 5.2312, 20.4348) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 1.82
Twilight Blue
#0A437A
ΔE00 2.68
Cobalt (survey)
#1E488F
ΔE00 3.38
Marine Blue
#01386A
ΔE00 3.65
Prussian Blue
#004577
ΔE00 4.37
Marine
#042E60
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#163F7E #7E5516
analogous
#16737E #163F7E #21167E
triadic
#163F7E #7E163F #3F7E16
tetradic
#163F7E #7E1673 #7E5516 #167E21
square
#163F7E #7E1673 #7E5516 #167E21
split-complementary
#163F7E #7E2116 #737E16
monochromatic
#050D1A #0D254A #163F7E #1F59B2 #3375DB
Accessibility & contrast
On white
10.26
#163F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#163F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #163F7E
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##163F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##163F7E | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4680
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #163f7e; /* rgb */ color: rgb(22, 63, 126); /* oklch */ color: oklch(37.7% 0.116 259.1);
Tailwind
colors: {
custom: {
50: '#6573a4',
500: '#163f7e',
950: '#000000',
},
}SCSS
$custom: #163f7e; $custom-light: #6573a4; $custom-dark: #000000;
JSON
{
"hex": "#163f7e",
"rgb": {
"r": 22,
"g": 63,
"b": 126
},
"hsl": {
"h": 216.346,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.37734,
"c": 0.11626,
"h": 259.1
},
"luminance": 0.05232
}Semantic roles & 50–950 ramp
primary
#163F7E
secondary
#B3843D
accent
#A73BED
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F