#25187E#25187E
#25187E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.160 H 277.5°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #25187E |
|---|---|
| RGB | rgb(37, 24, 126) |
| HSL | hsl(248, 68%, 29%) |
| HSV | hsv(248, 81%, 49%) |
| CMYK | cmyk(70.6%, 81%, 0%, 50.6%) |
| CIE-LAB | lab(18.15, 38.29, -54.75) |
| CIE-LCH | lch(18.15, 66.81, 304.97°) |
| OKLab | oklab(31.14% 0.0208 -0.1582) |
| OKLCH | oklch(31.14% 0.16 277.5) |
| XYZ | xyz(4.8543, 2.5525, 19.9715) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.78
Royal
#0C1793
ΔE00 3.46
Indigo (survey)
#380282
ΔE00 4.32
Navy
#000080
ΔE00 4.59
Dark Royal Blue
#02066F
ΔE00 4.59
Darkblue
#00008B
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25187E #717E18
analogous
#183E7E #25187E #58187E
triadic
#25187E #7E2518 #187E25
tetradic
#25187E #7E183E #717E18 #187E58
square
#25187E #7E183E #717E18 #187E58
split-complementary
#25187E #7E5818 #3E7E18
monochromatic
#08051A #160E4B #25187E #3422B1 #4C37D9
Accessibility & contrast
On white
13.90
#25187E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#25187E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25187E
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25187E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25187E | 1.00 | 13.90 | 1.51 | 13.90 |
| #FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #25187e; /* rgb */ color: rgb(37, 24, 126); /* oklch */ color: oklch(31.1% 0.160 277.5);
Tailwind
colors: {
custom: {
50: '#6e58a5',
500: '#25187e',
950: '#000000',
},
}SCSS
$custom: #25187e; $custom-light: #6e58a5; $custom-dark: #000000;
JSON
{
"hex": "#25187e",
"rgb": {
"r": 37,
"g": 24,
"b": 126
},
"hsl": {
"h": 247.647,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.31136,
"c": 0.15955,
"h": 277.5
},
"luminance": 0.02553
}Semantic roles & 50–950 ramp
primary
#25187E
secondary
#A4B23F
accent
#EB3DD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F