#25178B#25178B
#25178B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.176 H 275.7°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #25178B |
|---|---|
| RGB | rgb(37, 23, 139) |
| HSL | hsl(247, 72%, 32%) |
| HSV | hsv(247, 83%, 55%) |
| CMYK | cmyk(73.4%, 83.5%, 0%, 45.5%) |
| CIE-LAB | lab(19.51, 42.95, -60.70) |
| CIE-LCH | lch(19.51, 74.36, 305.28°) |
| OKLab | oklab(32.53% 0.0175 -0.1755) |
| OKLCH | oklch(32.53% 0.176 275.7) |
| XYZ | xyz(5.7280, 2.8696, 24.6731) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.97
Darkblue
#00008B
ΔE00 3.95
Indigo (survey)
#380282
ΔE00 4.14
Cobalt Blue
#030AA7
ΔE00 4.18
Navy
#000080
ΔE00 4.57
Midnight Blue
#191970
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25178B #7D8B17
analogous
#17438B #25178B #5F178B
triadic
#25178B #8B2517 #178B25
tetradic
#25178B #8B1743 #7D8B17 #178B5F
square
#25178B #8B1743 #7D8B17 #178B5F
split-complementary
#25178B #8B5F17 #438B17
monochromatic
#090622 #170E56 #25178B #3320C0 #513DDF
Accessibility & contrast
On white
13.34
#25178B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#25178B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25178B
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25178B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25178B | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #25178b; /* rgb */ color: rgb(37, 23, 139); /* oklch */ color: oklch(32.5% 0.176 275.7);
Tailwind
colors: {
custom: {
50: '#7158ae',
500: '#25178b',
950: '#000000',
},
}SCSS
$custom: #25178b; $custom-light: #7158ae; $custom-dark: #000000;
JSON
{
"hex": "#25178b",
"rgb": {
"r": 37,
"g": 23,
"b": 139
},
"hsl": {
"h": 247.241,
"s": 71.605,
"l": 31.765
},
"oklch": {
"l": 0.3253,
"c": 0.17634,
"h": 275.7
},
"luminance": 0.0287
}Semantic roles & 50–950 ramp
primary
#25178B
secondary
#AFBF3F
accent
#EE39D9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F