#25147D#25147D
#25147D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.162 H 278.2°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #25147D |
|---|---|
| RGB | rgb(37, 20, 125) |
| HSL | hsl(250, 72%, 28%) |
| HSV | hsv(250, 84%, 49%) |
| CMYK | cmyk(70.4%, 84%, 0%, 51%) |
| CIE-LAB | lab(17.34, 40.00, -55.46) |
| CIE-LCH | lch(17.34, 68.38, 305.80°) |
| OKLab | oklab(30.54% 0.023 -0.1602) |
| OKLCH | oklch(30.54% 0.162 278.2) |
| XYZ | xyz(4.7136, 2.3739, 19.6079) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.08
Royal
#0C1793
ΔE00 3.64
Indigo (survey)
#380282
ΔE00 3.69
Navy
#000080
ΔE00 3.93
Dark Royal Blue
#02066F
ΔE00 4.04
Deep Blue
#040273
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25147D #6C7D14
analogous
#14377D #25147D #59147D
triadic
#25147D #7D2514 #147D25
tetradic
#25147D #7D1437 #6C7D14 #147D59
square
#25147D #7D1437 #6C7D14 #147D59
split-complementary
#25147D #7D5914 #377D14
monochromatic
#08041A #150C48 #25147D #351CB2 #4A2EDE
Accessibility & contrast
On white
14.24
#25147D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#25147D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25147D
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25147D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25147D | 1.00 | 14.24 | 1.47 | 14.24 |
| #FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #25147d; /* rgb */ color: rgb(37, 20, 125); /* oklch */ color: oklch(30.5% 0.162 278.2);
Tailwind
colors: {
custom: {
50: '#6e56a4',
500: '#25147d',
950: '#000000',
},
}SCSS
$custom: #25147d; $custom-light: #6e56a4; $custom-dark: #000000;
JSON
{
"hex": "#25147d",
"rgb": {
"r": 37,
"g": 20,
"b": 125
},
"hsl": {
"h": 249.714,
"s": 72.414,
"l": 28.431
},
"oklch": {
"l": 0.30535,
"c": 0.16186,
"h": 278.2
},
"luminance": 0.02374
}Semantic roles & 50–950 ramp
primary
#25147D
secondary
#9FB23A
accent
#EF39D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F