#25157C#25157C
#25157C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.160 H 278.2°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).
Color values
| HEX | #25157C |
|---|---|
| RGB | rgb(37, 21, 124) |
| HSL | hsl(249, 71%, 28%) |
| HSV | hsv(249, 83%, 49%) |
| CMYK | cmyk(70.2%, 83.1%, 0%, 51.4%) |
| CIE-LAB | lab(17.39, 39.19, -54.74) |
| CIE-LCH | lch(17.39, 67.32, 305.60°) |
| OKLab | oklab(30.53% 0.0229 -0.1581) |
| OKLCH | oklch(30.53% 0.16 278.2) |
| XYZ | xyz(4.6680, 2.3845, 19.2791) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.85
Royal
#0C1793
ΔE00 3.75
Indigo (survey)
#380282
ΔE00 3.88
Dark Royal Blue
#02066F
ΔE00 4.08
Navy
#000080
ΔE00 4.12
Deep Blue
#040273
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25157C #6C7C15
analogous
#15397C #25157C #58157C
triadic
#25157C #7C2515 #157C25
tetradic
#25157C #7C1539 #6C7C15 #157C58
square
#25157C #7C1539 #6C7C15 #157C58
split-complementary
#25157C #7C5815 #397C15
monochromatic
#08041A #150C48 #25157C #351EB0 #4A30DC
Accessibility & contrast
On white
14.22
#25157C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#25157C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25157C
14.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25157C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25157C | 1.00 | 14.22 | 1.48 | 14.22 |
| #FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00267A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #25157c; /* rgb */ color: rgb(37, 21, 124); /* oklch */ color: oklch(30.5% 0.160 278.2);
Tailwind
colors: {
custom: {
50: '#6e56a3',
500: '#25157c',
950: '#000000',
},
}SCSS
$custom: #25157c; $custom-light: #6e56a3; $custom-dark: #000000;
JSON
{
"hex": "#25157c",
"rgb": {
"r": 37,
"g": 21,
"b": 124
},
"hsl": {
"h": 249.32,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.30534,
"c": 0.15978,
"h": 278.2
},
"luminance": 0.02385
}Semantic roles & 50–950 ramp
primary
#25157C
secondary
#9FB13C
accent
#EE3AD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F