#19167E#19167E
#19167E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.165 H 271.8°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #19167E |
|---|---|
| RGB | rgb(25, 22, 126) |
| HSL | hsl(242, 70%, 29%) |
| HSV | hsv(242, 83%, 49%) |
| CMYK | cmyk(80.2%, 82.5%, 0%, 50.6%) |
| CIE-LAB | lab(16.92, 38.33, -56.81) |
| CIE-LCH | lch(16.92, 68.53, 304.01°) |
| OKLab | oklab(30.05% 0.0051 -0.1644) |
| OKLCH | oklch(30.05% 0.165 271.8) |
| XYZ | xyz(4.4524, 2.2864, 19.9413) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.52
Royal
#0C1793
ΔE00 3.05
Dark Royal Blue
#02066F
ΔE00 3.83
Navy
#000080
ΔE00 3.87
Darkblue
#00008B
ΔE00 4.01
Deep Blue
#040273
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19167E #7B7E16
analogous
#16477E #19167E #4D167E
triadic
#19167E #7E1916 #167E19
tetradic
#19167E #7E1647 #7B7E16 #167E4D
square
#19167E #7E1647 #7B7E16 #167E4D
split-complementary
#19167E #7E4D16 #477E16
monochromatic
#05051A #0F0D4A #19167E #231FB2 #3833DB
Accessibility & contrast
On white
14.41
#19167E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#19167E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19167E
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19167E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19167E | 1.00 | 14.41 | 1.46 | 14.41 |
| #FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #19167e; /* rgb */ color: rgb(25, 22, 126); /* oklch */ color: oklch(30.1% 0.165 271.8);
Tailwind
colors: {
custom: {
50: '#6a56a5',
500: '#19167e',
950: '#000000',
},
}SCSS
$custom: #19167e; $custom-light: #6a56a5; $custom-dark: #000000;
JSON
{
"hex": "#19167e",
"rgb": {
"r": 25,
"g": 22,
"b": 126
},
"hsl": {
"h": 241.731,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.30051,
"c": 0.16452,
"h": 271.8
},
"luminance": 0.02287
}Semantic roles & 50–950 ramp
primary
#19167E
secondary
#AFB33D
accent
#ED3BE8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F