#19227F#19227F
#19227F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.154 H 270.0°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #19227F |
|---|---|
| RGB | rgb(25, 34, 127) |
| HSL | hsl(235, 67%, 30%) |
| HSV | hsv(235, 80%, 50%) |
| CMYK | cmyk(80.3%, 73.2%, 0%, 50.2%) |
| CIE-LAB | lab(19.57, 31.54, -53.08) |
| CIE-LCH | lch(19.57, 61.74, 300.72°) |
| OKLab | oklab(31.96% 0.0001 -0.1537) |
| OKLCH | oklch(31.96% 0.154 270) |
| XYZ | xyz(4.8024, 2.8825, 20.3778) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.08
Royal
#0C1793
ΔE00 4.20
Dark Royal Blue
#02066F
ΔE00 6.48
Darkblue
#00008B
ΔE00 6.81
Navy
#000080
ΔE00 6.87
Deep Blue
#040273
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19227F #7F7619
analogous
#19557F #19227F #43197F
triadic
#19227F #7F1922 #227F19
tetradic
#19227F #7F1955 #7F7619 #197F43
square
#19227F #7F1955 #7F7619 #197F43
split-complementary
#19227F #7F4319 #557F19
monochromatic
#05071A #0F144C #19227F #2330B2 #3A48D8
Accessibility & contrast
On white
13.32
#19227F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#19227F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19227F
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19227F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19227F | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #19227f; /* rgb */ color: rgb(25, 34, 127); /* oklch */ color: oklch(32.0% 0.154 270.0);
Tailwind
colors: {
custom: {
50: '#695da5',
500: '#19227f',
950: '#000000',
},
}SCSS
$custom: #19227f; $custom-light: #695da5; $custom-dark: #000000;
JSON
{
"hex": "#19227f",
"rgb": {
"r": 25,
"g": 34,
"b": 127
},
"hsl": {
"h": 234.706,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.31959,
"c": 0.1537,
"h": 270
},
"luminance": 0.02883
}Semantic roles & 50–950 ramp
primary
#19227F
secondary
#B3A941
accent
#DB3EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F