#25158F#25158F
#25158F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.8% C 0.183 H 275.3°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #25158F |
|---|---|
| RGB | rgb(37, 21, 143) |
| HSL | hsl(248, 74%, 32%) |
| HSV | hsv(248, 85%, 56%) |
| CMYK | cmyk(74.1%, 85.3%, 0%, 43.9%) |
| CIE-LAB | lab(19.69, 45.12, -62.91) |
| CIE-LCH | lch(19.69, 77.41, 305.65°) |
| OKLab | oklab(32.79% 0.017 -0.1818) |
| OKLCH | oklch(32.79% 0.183 275.3) |
| XYZ | xyz(5.9874, 2.9122, 26.2278) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.82
Cobalt Blue
#030AA7
ΔE00 3.56
Darkblue
#00008B
ΔE00 3.70
Royal Blue (survey)
#0504AA
ΔE00 4.01
Indigo (survey)
#380282
ΔE00 4.06
Navy
#000080
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25158F #7F8F15
analogous
#15428F #25158F #62158F
triadic
#25158F #8F2515 #158F25
tetradic
#25158F #8F1542 #7F8F15 #158F62
square
#25158F #8F1542 #7F8F15 #158F62
split-complementary
#25158F #8F6215 #428F15
monochromatic
#090524 #170D5A #25158F #331DC4 #523CE2
Accessibility & contrast
On white
13.27
#25158F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#25158F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25158F
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25158F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25158F | 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)
#003592
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #25158f; /* rgb */ color: rgb(37, 21, 143); /* oklch */ color: oklch(32.8% 0.183 275.3);
Tailwind
colors: {
custom: {
50: '#7357b1',
500: '#25158f',
950: '#000000',
},
}SCSS
$custom: #25158f; $custom-light: #7357b1; $custom-dark: #000000;
JSON
{
"hex": "#25158f",
"rgb": {
"r": 37,
"g": 21,
"b": 143
},
"hsl": {
"h": 247.869,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.32792,
"c": 0.18263,
"h": 275.3
},
"luminance": 0.02913
}Semantic roles & 50–950 ramp
primary
#25158F
secondary
#B1C23E
accent
#F137D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880