#19228B#19228B
#19228B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.169 H 269.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #19228B |
|---|---|
| RGB | rgb(25, 34, 139) |
| HSL | hsl(235, 70%, 32%) |
| HSV | hsv(235, 82%, 55%) |
| CMYK | cmyk(82%, 75.5%, 0%, 45.5%) |
| CIE-LAB | lab(20.88, 35.95, -58.46) |
| CIE-LCH | lch(20.88, 68.63, 301.59°) |
| OKLab | oklab(33.29% -0.0016 -0.1694) |
| OKLCH | oklch(33.29% 0.169 269.5) |
| XYZ | xyz(5.6315, 3.2142, 24.7447) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.86
Midnight Blue
#191970
ΔE00 4.46
Cobalt Blue
#030AA7
ΔE00 5.66
Darkblue
#00008B
ΔE00 6.18
Royal Blue (survey)
#0504AA
ΔE00 6.27
Navy
#000080
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#19228B #8B8219
analogous
#195B8B #19228B #49198B
triadic
#19228B #8B1922 #228B19
tetradic
#19228B #8B195B #8B8219 #198B49
square
#19228B #8B195B #8B8219 #198B49
split-complementary
#19228B #8B4919 #5B8B19
monochromatic
#060923 #101557 #19228B #222FBF #414EDD
Accessibility & contrast
On white
12.78
#19228B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#19228B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #19228B
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##19228B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##19228B | 1.00 | 12.78 | 1.64 | 12.78 |
| #FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#002D89
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #19228b; /* rgb */ color: rgb(25, 34, 139); /* oklch */ color: oklch(33.3% 0.169 269.5);
Tailwind
colors: {
custom: {
50: '#6c5eae',
500: '#19228b',
950: '#000000',
},
}SCSS
$custom: #19228b; $custom-light: #6c5eae; $custom-dark: #000000;
JSON
{
"hex": "#19228b",
"rgb": {
"r": 25,
"g": 34,
"b": 139
},
"hsl": {
"h": 235.263,
"s": 69.512,
"l": 32.157
},
"oklch": {
"l": 0.33293,
"c": 0.16937,
"h": 269.5
},
"luminance": 0.03215
}Semantic roles & 50–950 ramp
primary
#19228B
secondary
#BEB442
accent
#DE3BEC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F