#25177E#25177E
#25177E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.160 H 277.6°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).
Color values
| HEX | #25177E |
|---|---|
| RGB | rgb(37, 23, 126) |
| HSL | hsl(248, 69%, 29%) |
| HSV | hsv(248, 82%, 49%) |
| CMYK | cmyk(70.6%, 81.7%, 0%, 50.6%) |
| CIE-LAB | lab(17.97, 38.82, -55.05) |
| CIE-LCH | lch(17.97, 67.36, 305.19°) |
| OKLab | oklab(31.01% 0.0213 -0.159) |
| OKLCH | oklch(31.01% 0.16 277.6) |
| XYZ | xyz(4.8340, 2.5120, 19.9647) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.86
Royal
#0C1793
ΔE00 3.45
Indigo (survey)
#380282
ΔE00 4.14
Navy
#000080
ΔE00 4.40
Dark Royal Blue
#02066F
ΔE00 4.46
Darkblue
#00008B
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25177E #707E17
analogous
#173D7E #25177E #59177E
triadic
#25177E #7E2517 #177E25
tetradic
#25177E #7E173D #707E17 #177E59
square
#25177E #7E173D #707E17 #177E59
split-complementary
#25177E #7E5917 #3D7E17
monochromatic
#08051A #160E4A #25177E #3420B2 #4C35DA
Accessibility & contrast
On white
13.98
#25177E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#25177E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25177E
13.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25177E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25177E | 1.00 | 13.98 | 1.50 | 13.98 |
| #FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #25177e; /* rgb */ color: rgb(37, 23, 126); /* oklch */ color: oklch(31.0% 0.160 277.6);
Tailwind
colors: {
custom: {
50: '#6e57a5',
500: '#25177e',
950: '#000000',
},
}SCSS
$custom: #25177e; $custom-light: #6e57a5; $custom-dark: #000000;
JSON
{
"hex": "#25177e",
"rgb": {
"r": 37,
"g": 23,
"b": 126
},
"hsl": {
"h": 248.155,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.3101,
"c": 0.16047,
"h": 277.6
},
"luminance": 0.02512
}Semantic roles & 50–950 ramp
primary
#25177E
secondary
#A3B33E
accent
#EC3CD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F