#25187B#25187B
#25187B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.156 H 278.0°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).
Color values
| HEX | #25187B |
|---|---|
| RGB | rgb(37, 24, 123) |
| HSL | hsl(248, 67%, 29%) |
| HSV | hsv(248, 80%, 48%) |
| CMYK | cmyk(69.9%, 80.5%, 0%, 51.8%) |
| CIE-LAB | lab(17.81, 37.31, -53.40) |
| CIE-LCH | lch(17.81, 65.15, 304.94°) |
| OKLab | oklab(30.79% 0.0216 -0.1543) |
| OKLCH | oklch(30.79% 0.156 278) |
| XYZ | xyz(4.6636, 2.4762, 18.9672) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.41
Royal
#0C1793
ΔE00 3.89
Dark Royal Blue
#02066F
ΔE00 4.44
Indigo (survey)
#380282
ΔE00 4.46
Deep Blue
#040273
ΔE00 4.67
Navy
#000080
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25187B #6E7B18
analogous
#183D7B #25187B #57187B
triadic
#25187B #7B2518 #187B25
tetradic
#25187B #7B183D #6E7B18 #187B57
square
#25187B #7B183D #6E7B18 #187B57
split-complementary
#25187B #7B5718 #3D7B18
monochromatic
#08051A #160E48 #25187B #3422AE #4B36D8
Accessibility & contrast
On white
14.04
#25187B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#25187B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25187B
14.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25187B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25187B | 1.00 | 14.04 | 1.50 | 14.04 |
| #FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002779
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #25187b; /* rgb */ color: rgb(37, 24, 123); /* oklch */ color: oklch(30.8% 0.156 278.0);
Tailwind
colors: {
custom: {
50: '#6d58a2',
500: '#25187b',
950: '#000000',
},
}SCSS
$custom: #25187b; $custom-light: #6d58a2; $custom-dark: #000000;
JSON
{
"hex": "#25187b",
"rgb": {
"r": 37,
"g": 24,
"b": 123
},
"hsl": {
"h": 247.879,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.30794,
"c": 0.15578,
"h": 278
},
"luminance": 0.02477
}Semantic roles & 50–950 ramp
primary
#25187B
secondary
#A1B03F
accent
#EA3ED4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F