#25178E#25178E
#25178E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.180 H 275.3°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #25178E |
|---|---|
| RGB | rgb(37, 23, 142) |
| HSL | hsl(247, 72%, 32%) |
| HSV | hsv(247, 84%, 56%) |
| CMYK | cmyk(73.9%, 83.8%, 0%, 44.3%) |
| CIE-LAB | lab(19.88, 43.89, -61.97) |
| CIE-LCH | lch(19.88, 75.94, 305.31°) |
| OKLab | oklab(32.89% 0.0166 -0.1792) |
| OKLCH | oklch(32.89% 0.18 275.3) |
| XYZ | xyz(5.9502, 2.9585, 25.8434) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.78
Cobalt Blue
#030AA7
ΔE00 3.81
Darkblue
#00008B
ΔE00 3.98
Indigo (survey)
#380282
ΔE00 4.27
Royal Blue (survey)
#0504AA
ΔE00 4.29
Navy
#000080
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25178E #808E17
analogous
#17448E #25178E #61178E
triadic
#25178E #8E2517 #178E25
tetradic
#25178E #8E1744 #808E17 #178E61
square
#25178E #8E1744 #808E17 #178E61
split-complementary
#25178E #8E6117 #448E17
monochromatic
#0A0625 #170E59 #25178E #3320C3 #523FE0
Accessibility & contrast
On white
13.19
#25178E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#25178E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25178E
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25178E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25178E | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #25178e; /* rgb */ color: rgb(37, 23, 142); /* oklch */ color: oklch(32.9% 0.180 275.3);
Tailwind
colors: {
custom: {
50: '#7258b0',
500: '#25178e',
950: '#000000',
},
}SCSS
$custom: #25178e; $custom-light: #7258b0; $custom-dark: #000000;
JSON
{
"hex": "#25178e",
"rgb": {
"r": 37,
"g": 23,
"b": 142
},
"hsl": {
"h": 247.059,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.32886,
"c": 0.17993,
"h": 275.3
},
"luminance": 0.02959
}Semantic roles & 50–950 ramp
primary
#25178E
secondary
#B1C040
accent
#EF39D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980