#19227C#19227C
#19227C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.150 H 270.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #19227C |
|---|---|
| RGB | rgb(25, 34, 124) |
| HSL | hsl(235, 66%, 29%) |
| HSV | hsv(235, 80%, 49%) |
| CMYK | cmyk(79.8%, 72.6%, 0%, 51.4%) |
| CIE-LAB | lab(19.25, 30.41, -51.70) |
| CIE-LCH | lch(19.25, 59.98, 300.47°) |
| OKLab | oklab(31.63% 0.0005 -0.1497) |
| OKLCH | oklch(31.63% 0.15 270.2) |
| XYZ | xyz(4.6098, 2.8055, 19.3634) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.84
Royal
#0C1793
ΔE00 4.63
Dark Royal Blue
#02066F
ΔE00 6.44
Darkblue (survey)
#030764
ΔE00 6.92
Deep Blue
#040273
ΔE00 6.96
Navy
#000080
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19227C #7C7319
analogous
#19547C #19227C #41197C
triadic
#19227C #7C1922 #227C19
tetradic
#19227C #7C1954 #7C7319 #197C41
square
#19227C #7C1954 #7C7319 #197C41
split-complementary
#19227C #7C4119 #547C19
monochromatic
#050719 #0F1449 #19227C #2330AF #3847D7
Accessibility & contrast
On white
13.45
#19227C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#19227C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19227C
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19227C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19227C | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #19227c; /* rgb */ color: rgb(25, 34, 124); /* oklch */ color: oklch(31.6% 0.150 270.2);
Tailwind
colors: {
custom: {
50: '#685da3',
500: '#19227c',
950: '#000000',
},
}SCSS
$custom: #19227c; $custom-light: #685da3; $custom-dark: #000000;
JSON
{
"hex": "#19227c",
"rgb": {
"r": 25,
"g": 34,
"b": 124
},
"hsl": {
"h": 234.545,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.31633,
"c": 0.14968,
"h": 270.2
},
"luminance": 0.02806
}Semantic roles & 50–950 ramp
primary
#19227C
secondary
#B0A640
accent
#DA3EE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F