#25187F#25187F
#25187F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.161 H 277.3°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #25187F |
|---|---|
| RGB | rgb(37, 24, 127) |
| HSL | hsl(248, 68%, 30%) |
| HSV | hsv(248, 81%, 50%) |
| CMYK | cmyk(70.9%, 81.1%, 0%, 50.2%) |
| CIE-LAB | lab(18.27, 38.62, -55.19) |
| CIE-LCH | lch(18.27, 67.36, 304.98°) |
| OKLab | oklab(31.25% 0.0205 -0.1595) |
| OKLCH | oklch(31.25% 0.161 277.3) |
| XYZ | xyz(4.9191, 2.5784, 20.3130) |
| Luminance | 0.0258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.91
Royal
#0C1793
ΔE00 3.32
Indigo (survey)
#380282
ΔE00 4.28
Navy
#000080
ΔE00 4.56
Darkblue
#00008B
ΔE00 4.57
Dark Royal Blue
#02066F
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25187F #727F18
analogous
#183E7F #25187F #59187F
triadic
#25187F #7F2518 #187F25
tetradic
#25187F #7F183E #727F18 #187F59
square
#25187F #7F183E #727F18 #187F59
split-complementary
#25187F #7F5918 #3E7F18
monochromatic
#07051A #160E4C #25187F #3422B2 #4C38D9
Accessibility & contrast
On white
13.85
#25187F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#25187F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25187F
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25187F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25187F | 1.00 | 13.85 | 1.52 | 13.85 |
| #FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #25187f; /* rgb */ color: rgb(37, 24, 127); /* oklch */ color: oklch(31.3% 0.161 277.3);
Tailwind
colors: {
custom: {
50: '#6e58a5',
500: '#25187f',
950: '#000000',
},
}SCSS
$custom: #25187f; $custom-light: #6e58a5; $custom-dark: #000000;
JSON
{
"hex": "#25187f",
"rgb": {
"r": 37,
"g": 24,
"b": 127
},
"hsl": {
"h": 247.573,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.31251,
"c": 0.1608,
"h": 277.3
},
"luminance": 0.02579
}Semantic roles & 50–950 ramp
primary
#25187F
secondary
#A5B33F
accent
#EB3DD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F