#163A7F#163A7F
#163A7F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.7% C 0.124 H 261.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #163A7F |
|---|---|
| RGB | rgb(22, 58, 127) |
| HSL | hsl(219, 70%, 29%) |
| HSV | hsv(219, 83%, 50%) |
| CMYK | cmyk(82.7%, 54.3%, 0%, 50.2%) |
| CIE-LAB | lab(25.95, 14.60, -42.66) |
| CIE-LCH | lch(25.95, 45.09, 288.90°) |
| OKLab | oklab(36.66% -0.0179 -0.1229) |
| OKLCH | oklch(36.66% 0.124 261.7) |
| XYZ | xyz(5.6733, 4.7283, 20.6882) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 3.50
Marine Blue
#01386A
ΔE00 4.09
Twilight Blue
#0A437A
ΔE00 4.51
Cobalt (survey)
#1E488F
ΔE00 4.70
Marine
#042E60
ΔE00 5.38
Prussian Blue
#004577
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#163A7F #7F5B16
analogous
#166F7F #163A7F #27167F
triadic
#163A7F #7F163A #3A7F16
tetradic
#163A7F #7F166F #7F5B16 #167F27
square
#163A7F #7F166F #7F5B16 #167F27
split-complementary
#163A7F #7F2716 #6F7F16
monochromatic
#050C1A #0D224B #163A7F #1F52B3 #346DDC
Accessibility & contrast
On white
10.79
#163A7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#163A7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #163A7F
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##163A7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##163A7F | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#084281
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #163a7f; /* rgb */ color: rgb(22, 58, 127); /* oklch */ color: oklch(36.7% 0.124 261.7);
Tailwind
colors: {
custom: {
50: '#666fa5',
500: '#163a7f',
950: '#000000',
},
}SCSS
$custom: #163a7f; $custom-light: #666fa5; $custom-dark: #000000;
JSON
{
"hex": "#163a7f",
"rgb": {
"r": 22,
"g": 58,
"b": 127
},
"hsl": {
"h": 219.429,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.36659,
"c": 0.12423,
"h": 261.7
},
"luminance": 0.04729
}Semantic roles & 50–950 ramp
primary
#163A7F
secondary
#B48B3D
accent
#B03BED
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F