#25148E#25148E
#25148E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.6% C 0.182 H 275.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #25148E |
|---|---|
| RGB | rgb(37, 20, 142) |
| HSL | hsl(248, 75%, 32%) |
| HSV | hsv(248, 86%, 56%) |
| CMYK | cmyk(73.9%, 85.9%, 0%, 44.3%) |
| CIE-LAB | lab(19.42, 45.25, -62.74) |
| CIE-LCH | lch(19.42, 77.35, 305.80°) |
| OKLab | oklab(32.57% 0.0176 -0.1813) |
| OKLCH | oklch(32.57% 0.182 275.6) |
| XYZ | xyz(5.8940, 2.8460, 25.8247) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.92
Darkblue
#00008B
ΔE00 3.54
Cobalt Blue
#030AA7
ΔE00 3.63
Indigo (survey)
#380282
ΔE00 3.89
Royal Blue (survey)
#0504AA
ΔE00 4.06
Navy
#000080
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25148E #7D8E14
analogous
#14408E #25148E #62148E
triadic
#25148E #8E2514 #148E25
tetradic
#25148E #8E1440 #7D8E14 #148E62
square
#25148E #8E1440 #7D8E14 #148E62
split-complementary
#25148E #8E6214 #408E14
monochromatic
#090523 #170C58 #25148E #331CC4 #5139E3
Accessibility & contrast
On white
13.38
#25148E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#25148E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25148E
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25148E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25148E | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#002A8C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #25148e; /* rgb */ color: rgb(37, 20, 142); /* oklch */ color: oklch(32.6% 0.182 275.6);
Tailwind
colors: {
custom: {
50: '#7257b0',
500: '#25148e',
950: '#000000',
},
}SCSS
$custom: #25148e; $custom-light: #7257b0; $custom-dark: #000000;
JSON
{
"hex": "#25148e",
"rgb": {
"r": 37,
"g": 20,
"b": 142
},
"hsl": {
"h": 248.361,
"s": 75.309,
"l": 31.765
},
"oklch": {
"l": 0.32569,
"c": 0.18217,
"h": 275.6
},
"luminance": 0.02847
}Semantic roles & 50–950 ramp
primary
#25148E
secondary
#AFC23C
accent
#F236D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880