#19217F#19217F
#19217F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.155 H 270.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #19217F |
|---|---|
| RGB | rgb(25, 33, 127) |
| HSL | hsl(235, 67%, 30%) |
| HSV | hsv(235, 80%, 50%) |
| CMYK | cmyk(80.3%, 74%, 0%, 50.2%) |
| CIE-LAB | lab(19.33, 32.18, -53.46) |
| CIE-LCH | lch(19.33, 62.40, 301.05°) |
| OKLab | oklab(31.79% 0.0006 -0.1548) |
| OKLCH | oklch(31.79% 0.155 270.2) |
| XYZ | xyz(4.7742, 2.8262, 20.3684) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.90
Royal
#0C1793
ΔE00 4.00
Dark Royal Blue
#02066F
ΔE00 6.21
Darkblue
#00008B
ΔE00 6.53
Navy
#000080
ΔE00 6.58
Deep Blue
#040273
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19217F #7F7719
analogous
#19547F #19217F #44197F
triadic
#19217F #7F1921 #217F19
tetradic
#19217F #7F1954 #7F7719 #197F44
square
#19217F #7F1954 #7F7719 #197F44
split-complementary
#19217F #7F4419 #547F19
monochromatic
#05071A #0F144C #19217F #232EB2 #3A47D8
Accessibility & contrast
On white
13.42
#19217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#19217F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19217F
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19217F | 1.00 | 13.42 | 1.57 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #19217f; /* rgb */ color: rgb(25, 33, 127); /* oklch */ color: oklch(31.8% 0.155 270.2);
Tailwind
colors: {
custom: {
50: '#695da5',
500: '#19217f',
950: '#000000',
},
}SCSS
$custom: #19217f; $custom-light: #695da5; $custom-dark: #000000;
JSON
{
"hex": "#19217f",
"rgb": {
"r": 25,
"g": 33,
"b": 127
},
"hsl": {
"h": 235.294,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.31792,
"c": 0.15482,
"h": 270.2
},
"luminance": 0.02827
}Semantic roles & 50–950 ramp
primary
#19217F
secondary
#B3AA41
accent
#DC3EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F