#25147E#25147E
#25147E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.163 H 278.0°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #25147E |
|---|---|
| RGB | rgb(37, 20, 126) |
| HSL | hsl(250, 73%, 29%) |
| HSV | hsv(250, 84%, 49%) |
| CMYK | cmyk(70.6%, 84.1%, 0%, 50.6%) |
| CIE-LAB | lab(17.46, 40.31, -55.90) |
| CIE-LCH | lch(17.46, 68.92, 305.80°) |
| OKLab | oklab(30.65% 0.0227 -0.1615) |
| OKLCH | oklch(30.65% 0.163 278) |
| XYZ | xyz(4.7778, 2.3996, 19.9460) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.19
Royal
#0C1793
ΔE00 3.51
Indigo (survey)
#380282
ΔE00 3.65
Navy
#000080
ΔE00 3.90
Darkblue
#00008B
ΔE00 4.00
Dark Royal Blue
#02066F
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25147E #6D7E14
analogous
#14387E #25147E #5A147E
triadic
#25147E #7E2514 #147E25
tetradic
#25147E #7E1438 #6D7E14 #147E5A
square
#25147E #7E1438 #6D7E14 #147E5A
split-complementary
#25147E #7E5A14 #387E14
monochromatic
#08041A #150C49 #25147E #351CB3 #4B2EDE
Accessibility & contrast
On white
14.19
#25147E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#25147E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25147E
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25147E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25147E | 1.00 | 14.19 | 1.48 | 14.19 |
| #FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #25147e; /* rgb */ color: rgb(37, 20, 126); /* oklch */ color: oklch(30.7% 0.163 278.0);
Tailwind
colors: {
custom: {
50: '#6f56a5',
500: '#25147e',
950: '#000000',
},
}SCSS
$custom: #25147e; $custom-light: #6f56a5; $custom-dark: #000000;
JSON
{
"hex": "#25147e",
"rgb": {
"r": 37,
"g": 20,
"b": 126
},
"hsl": {
"h": 249.623,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.30652,
"c": 0.16307,
"h": 278
},
"luminance": 0.024
}Semantic roles & 50–950 ramp
primary
#25147E
secondary
#A0B33A
accent
#EF38D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F