#25187C#25187C
#25187C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.157 H 277.8°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).
Color values
| HEX | #25187C |
|---|---|
| RGB | rgb(37, 24, 124) |
| HSL | hsl(248, 68%, 29%) |
| HSV | hsv(248, 81%, 49%) |
| CMYK | cmyk(70.2%, 80.6%, 0%, 51.4%) |
| CIE-LAB | lab(17.92, 37.64, -53.85) |
| CIE-LCH | lch(17.92, 65.70, 304.95°) |
| OKLab | oklab(30.91% 0.0213 -0.1556) |
| OKLCH | oklch(30.91% 0.157 277.8) |
| XYZ | xyz(4.7265, 2.5014, 19.2986) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.53
Royal
#0C1793
ΔE00 3.74
Indigo (survey)
#380282
ΔE00 4.40
Dark Royal Blue
#02066F
ΔE00 4.48
Navy
#000080
ΔE00 4.66
Deep Blue
#040273
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25187C #6F7C18
analogous
#183D7C #25187C #57187C
triadic
#25187C #7C2518 #187C25
tetradic
#25187C #7C183D #6F7C18 #187C57
square
#25187C #7C183D #6F7C18 #187C57
split-complementary
#25187C #7C5718 #3D7C18
monochromatic
#08051A #160E49 #25187C #3422AF #4B36D8
Accessibility & contrast
On white
14.00
#25187C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#25187C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25187C
14.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25187C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25187C | 1.00 | 14.00 | 1.50 | 14.00 |
| #FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #25187c; /* rgb */ color: rgb(37, 24, 124); /* oklch */ color: oklch(30.9% 0.157 277.8);
Tailwind
colors: {
custom: {
50: '#6e58a3',
500: '#25187c',
950: '#000000',
},
}SCSS
$custom: #25187c; $custom-light: #6e58a3; $custom-dark: #000000;
JSON
{
"hex": "#25187c",
"rgb": {
"r": 37,
"g": 24,
"b": 124
},
"hsl": {
"h": 247.8,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.30908,
"c": 0.15704,
"h": 277.8
},
"luminance": 0.02502
}Semantic roles & 50–950 ramp
primary
#25187C
secondary
#A2B13F
accent
#EA3DD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F