#25147F#25147F
#25147F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.8% C 0.164 H 277.8°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).
Color values
| HEX | #25147F |
|---|---|
| RGB | rgb(37, 20, 127) |
| HSL | hsl(250, 73%, 29%) |
| HSV | hsv(250, 84%, 50%) |
| CMYK | cmyk(70.9%, 84.3%, 0%, 50.2%) |
| CIE-LAB | lab(17.58, 40.63, -56.34) |
| CIE-LCH | lch(17.58, 69.46, 305.80°) |
| OKLab | oklab(30.77% 0.0224 -0.1627) |
| OKLCH | oklch(30.77% 0.164 277.8) |
| XYZ | xyz(4.8426, 2.4255, 20.2875) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.30
Royal
#0C1793
ΔE00 3.38
Indigo (survey)
#380282
ΔE00 3.62
Navy
#000080
ΔE00 3.88
Darkblue
#00008B
ΔE00 3.93
Deep Blue
#040273
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25147F #6E7F14
analogous
#14397F #25147F #5B147F
triadic
#25147F #7F2514 #147F25
tetradic
#25147F #7F1439 #6E7F14 #147F5B
square
#25147F #7F1439 #6E7F14 #147F5B
split-complementary
#25147F #7F5B14 #397F14
monochromatic
#08041A #160C4A #25147F #341CB4 #4B2FDE
Accessibility & contrast
On white
14.14
#25147F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#25147F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25147F
14.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25147F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25147F | 1.00 | 14.14 | 1.49 | 14.14 |
| #FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #25147f; /* rgb */ color: rgb(37, 20, 127); /* oklch */ color: oklch(30.8% 0.164 277.8);
Tailwind
colors: {
custom: {
50: '#6f56a5',
500: '#25147f',
950: '#000000',
},
}SCSS
$custom: #25147f; $custom-light: #6f56a5; $custom-dark: #000000;
JSON
{
"hex": "#25147f",
"rgb": {
"r": 37,
"g": 20,
"b": 127
},
"hsl": {
"h": 249.533,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.30771,
"c": 0.16428,
"h": 277.8
},
"luminance": 0.02426
}Semantic roles & 50–950 ramp
primary
#25147F
secondary
#A1B43B
accent
#EF38D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F