#25188B#25188B
#25188B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.176 H 275.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #25188B |
|---|---|
| RGB | rgb(37, 24, 139) |
| HSL | hsl(247, 71%, 32%) |
| HSV | hsv(247, 83%, 55%) |
| CMYK | cmyk(73.4%, 82.7%, 0%, 45.5%) |
| CIE-LAB | lab(19.68, 42.47, -60.43) |
| CIE-LCH | lch(19.68, 73.86, 305.10°) |
| OKLab | oklab(32.65% 0.0171 -0.1747) |
| OKLCH | oklch(32.65% 0.176 275.6) |
| XYZ | xyz(5.7483, 2.9101, 24.6799) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.96
Darkblue
#00008B
ΔE00 4.12
Cobalt Blue
#030AA7
ΔE00 4.26
Indigo (survey)
#380282
ΔE00 4.30
Midnight Blue
#191970
ΔE00 4.53
Navy
#000080
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25188B #7E8B18
analogous
#18448B #25188B #5F188B
triadic
#25188B #8B2518 #188B25
tetradic
#25188B #8B1844 #7E8B18 #188B5F
square
#25188B #8B1844 #7E8B18 #188B5F
split-complementary
#25188B #8B5F18 #448B18
monochromatic
#090623 #170F57 #25188B #3321BF #513FDE
Accessibility & contrast
On white
13.27
#25188B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#25188B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25188B
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25188B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25188B | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #25188b; /* rgb */ color: rgb(37, 24, 139); /* oklch */ color: oklch(32.6% 0.176 275.6);
Tailwind
colors: {
custom: {
50: '#7159ae',
500: '#25188b',
950: '#000000',
},
}SCSS
$custom: #25188b; $custom-light: #7159ae; $custom-dark: #000000;
JSON
{
"hex": "#25188b",
"rgb": {
"r": 37,
"g": 24,
"b": 139
},
"hsl": {
"h": 246.783,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.32645,
"c": 0.17552,
"h": 275.6
},
"luminance": 0.02911
}Semantic roles & 50–950 ramp
primary
#25188B
secondary
#B0BE40
accent
#ED3AD9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F