#163F7C#163F7C
#163F7C is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.113 H 258.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #163F7C |
|---|---|
| RGB | rgb(22, 63, 124) |
| HSL | hsl(216, 70%, 29%) |
| HSV | hsv(216, 82%, 49%) |
| CMYK | cmyk(82.3%, 49.2%, 0%, 51.4%) |
| CIE-LAB | lab(27.24, 9.84, -38.68) |
| CIE-LCH | lch(27.24, 39.91, 284.27°) |
| OKLab | oklab(37.58% -0.0224 -0.1111) |
| OKLCH | oklch(37.58% 0.113 258.6) |
| XYZ | xyz(5.7451, 5.1801, 19.7619) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 1.79
Twilight Blue
#0A437A
ΔE00 2.51
Marine Blue
#01386A
ΔE00 3.42
Cobalt (survey)
#1E488F
ΔE00 3.55
Prussian Blue
#004577
ΔE00 4.20
Marine
#042E60
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#163F7C #7C5316
analogous
#16727C #163F7C #20167C
triadic
#163F7C #7C163F #3F7C16
tetradic
#163F7C #7C1672 #7C5316 #167C20
square
#163F7C #7C1672 #7C5316 #167C20
split-complementary
#163F7C #7C2016 #727C16
monochromatic
#050D1A #0D2548 #163F7C #1F59B0 #3276DB
Accessibility & contrast
On white
10.31
#163F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#163F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #163F7C
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##163F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##163F7C | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D457E
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #163f7c; /* rgb */ color: rgb(22, 63, 124); /* oklch */ color: oklch(37.6% 0.113 258.6);
Tailwind
colors: {
custom: {
50: '#6573a2',
500: '#163f7c',
950: '#000000',
},
}SCSS
$custom: #163f7c; $custom-light: #6573a2; $custom-dark: #000000;
JSON
{
"hex": "#163f7c",
"rgb": {
"r": 22,
"g": 63,
"b": 124
},
"hsl": {
"h": 215.882,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.3758,
"c": 0.11336,
"h": 258.6
},
"luminance": 0.05181
}Semantic roles & 50–950 ramp
primary
#163F7C
secondary
#B1823D
accent
#A53BED
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06080F
muted
#7A7B7F