#16197F#16197F
#16197F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.164 H 270.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #16197F |
|---|---|
| RGB | rgb(22, 25, 127) |
| HSL | hsl(238, 70%, 29%) |
| HSV | hsv(238, 83%, 50%) |
| CMYK | cmyk(82.7%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(17.45, 36.81, -56.58) |
| CIE-LCH | lch(17.45, 67.50, 303.05°) |
| OKLab | oklab(30.41% 0.0004 -0.1639) |
| OKLCH | oklch(30.41% 0.164 270.1) |
| XYZ | xyz(4.5080, 2.3976, 20.2998) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.42
Royal
#0C1793
ΔE00 2.96
Dark Royal Blue
#02066F
ΔE00 4.38
Navy
#000080
ΔE00 4.50
Darkblue
#00008B
ΔE00 4.55
Deep Blue
#040273
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#16197F #7F7C16
analogous
#164E7F #16197F #48167F
triadic
#16197F #7F1619 #197F16
tetradic
#16197F #7F164E #7F7C16 #167F48
square
#16197F #7F164E #7F7C16 #167F48
split-complementary
#16197F #7F4816 #4E7F16
monochromatic
#05051A #0D0F4B #16197F #1F23B3 #3438DC
Accessibility & contrast
On white
14.19
#16197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#16197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #16197F
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##16197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##16197F | 1.00 | 14.19 | 1.48 | 14.19 |
| #FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #16197f; /* rgb */ color: rgb(22, 25, 127); /* oklch */ color: oklch(30.4% 0.164 270.1);
Tailwind
colors: {
custom: {
50: '#6958a5',
500: '#16197f',
950: '#000000',
},
}SCSS
$custom: #16197f; $custom-light: #6958a5; $custom-dark: #000000;
JSON
{
"hex": "#16197f",
"rgb": {
"r": 22,
"g": 25,
"b": 127
},
"hsl": {
"h": 238.286,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.30409,
"c": 0.16388,
"h": 270.1
},
"luminance": 0.02398
}Semantic roles & 50–950 ramp
primary
#16197F
secondary
#B4B03D
accent
#E83BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F