#19217B#19217B
#19217B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.149 H 270.4°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #19217B |
|---|---|
| RGB | rgb(25, 33, 123) |
| HSL | hsl(235, 66%, 29%) |
| HSV | hsv(235, 80%, 48%) |
| CMYK | cmyk(79.7%, 73.2%, 0%, 51.8%) |
| CIE-LAB | lab(18.90, 30.69, -51.63) |
| CIE-LCH | lch(18.90, 60.06, 300.73°) |
| OKLab | oklab(31.35% 0.0011 -0.1495) |
| OKLCH | oklch(31.35% 0.149 270.4) |
| XYZ | xyz(4.5187, 2.7239, 19.0227) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.54
Royal
#0C1793
ΔE00 4.57
Dark Royal Blue
#02066F
ΔE00 6.16
Darkblue (survey)
#030764
ΔE00 6.63
Deep Blue
#040273
ΔE00 6.69
Navy
#000080
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19217B #7B7319
analogous
#19527B #19217B #42197B
triadic
#19217B #7B1921 #217B19
tetradic
#19217B #7B1952 #7B7319 #197B42
square
#19217B #7B1952 #7B7319 #197B42
split-complementary
#19217B #7B4219 #527B19
monochromatic
#050719 #0F1348 #19217B #232FAE #3845D7
Accessibility & contrast
On white
13.59
#19217B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#19217B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19217B
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19217B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19217B | 1.00 | 13.59 | 1.54 | 13.59 |
| #FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #19217b; /* rgb */ color: rgb(25, 33, 123); /* oklch */ color: oklch(31.4% 0.149 270.4);
Tailwind
colors: {
custom: {
50: '#685da2',
500: '#19217b',
950: '#000000',
},
}SCSS
$custom: #19217b; $custom-light: #685da2; $custom-dark: #000000;
JSON
{
"hex": "#19217b",
"rgb": {
"r": 25,
"g": 33,
"b": 123
},
"hsl": {
"h": 235.102,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.31353,
"c": 0.14948,
"h": 270.4
},
"luminance": 0.02724
}Semantic roles & 50–950 ramp
primary
#19217B
secondary
#AFA640
accent
#DB3FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F