#25148F#25148F
#25148F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.183 H 275.4°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).
Color values
| HEX | #25148F |
|---|---|
| RGB | rgb(37, 20, 143) |
| HSL | hsl(248, 75%, 32%) |
| HSV | hsv(248, 86%, 56%) |
| CMYK | cmyk(74.1%, 86%, 0%, 43.9%) |
| CIE-LAB | lab(19.54, 45.55, -63.15) |
| CIE-LCH | lch(19.54, 77.87, 305.80°) |
| OKLab | oklab(32.69% 0.0173 -0.1825) |
| OKLCH | oklch(32.69% 0.183 275.4) |
| XYZ | xyz(5.9694, 2.8762, 26.2218) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.88
Cobalt Blue
#030AA7
ΔE00 3.50
Darkblue
#00008B
ΔE00 3.56
Royal Blue (survey)
#0504AA
ΔE00 3.94
Indigo (survey)
#380282
ΔE00 3.95
Navy
#000080
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25148F #7E8F14
analogous
#14408F #25148F #63148F
triadic
#25148F #8F2514 #148F25
tetradic
#25148F #8F1440 #7E8F14 #148F63
square
#25148F #8F1440 #7E8F14 #148F63
split-complementary
#25148F #8F6314 #408F14
monochromatic
#090524 #170C59 #25148F #331CC5 #513AE3
Accessibility & contrast
On white
13.33
#25148F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#25148F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25148F
13.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25148F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25148F | 1.00 | 13.33 | 1.58 | 13.33 |
| #FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #25148f; /* rgb */ color: rgb(37, 20, 143); /* oklch */ color: oklch(32.7% 0.183 275.4);
Tailwind
colors: {
custom: {
50: '#7357b1',
500: '#25148f',
950: '#000000',
},
}SCSS
$custom: #25148f; $custom-light: #7357b1; $custom-dark: #000000;
JSON
{
"hex": "#25148f",
"rgb": {
"r": 37,
"g": 20,
"b": 143
},
"hsl": {
"h": 248.293,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.3269,
"c": 0.18335,
"h": 275.4
},
"luminance": 0.02877
}Semantic roles & 50–950 ramp
primary
#25148F
secondary
#B0C33C
accent
#F236D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880