#25148C#25148C
#25148C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.180 H 275.8°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #25148C |
|---|---|
| RGB | rgb(37, 20, 140) |
| HSL | hsl(249, 75%, 31%) |
| HSV | hsv(249, 86%, 55%) |
| CMYK | cmyk(73.6%, 85.7%, 0%, 45.1%) |
| CIE-LAB | lab(19.17, 44.64, -61.90) |
| CIE-LCH | lch(19.17, 76.32, 305.80°) |
| OKLab | oklab(32.33% 0.0183 -0.1789) |
| OKLCH | oklch(32.33% 0.18 275.8) |
| XYZ | xyz(5.7452, 2.7865, 25.0409) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.03
Darkblue
#00008B
ΔE00 3.50
Indigo (survey)
#380282
ΔE00 3.78
Cobalt Blue
#030AA7
ΔE00 3.88
Navy
#000080
ΔE00 4.21
Royal Blue (survey)
#0504AA
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25148C #7B8C14
analogous
#143F8C #25148C #61148C
triadic
#25148C #8C2514 #148C25
tetradic
#25148C #8C143F #7B8C14 #148C61
square
#25148C #8C143F #7B8C14 #148C61
split-complementary
#25148C #8C6114 #3F8C14
monochromatic
#090521 #170C56 #25148C #331CC2 #5038E3
Accessibility & contrast
On white
13.48
#25148C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#25148C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25148C
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25148C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25148C | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338F
Deuteranopia (green-blind)
#00298A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #25148c; /* rgb */ color: rgb(37, 20, 140); /* oklch */ color: oklch(32.3% 0.180 275.8);
Tailwind
colors: {
custom: {
50: '#7257af',
500: '#25148c',
950: '#000000',
},
}SCSS
$custom: #25148c; $custom-light: #7257af; $custom-dark: #000000;
JSON
{
"hex": "#25148c",
"rgb": {
"r": 37,
"g": 20,
"b": 140
},
"hsl": {
"h": 248.5,
"s": 75,
"l": 31.373
},
"oklch": {
"l": 0.32327,
"c": 0.17983,
"h": 275.8
},
"luminance": 0.02787
}Semantic roles & 50–950 ramp
primary
#25148C
secondary
#ADC03C
accent
#F236D7
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880