#25217E#25217E
#25217E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.150 H 275.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #25217E |
|---|---|
| RGB | rgb(37, 33, 126) |
| HSL | hsl(243, 58%, 31%) |
| HSV | hsv(243, 74%, 49%) |
| CMYK | cmyk(70.6%, 73.8%, 0%, 50.6%) |
| CIE-LAB | lab(19.99, 33.10, -51.72) |
| CIE-LCH | lch(19.99, 61.40, 302.62°) |
| OKLab | oklab(32.43% 0.0154 -0.1494) |
| OKLCH | oklch(32.43% 0.15 275.9) |
| XYZ | xyz(5.0715, 2.9869, 20.0439) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.88
Royal
#0C1793
ΔE00 4.23
Dark Royal Blue
#02066F
ΔE00 6.28
Indigo (survey)
#380282
ΔE00 6.34
Darkblue
#00008B
ΔE00 6.57
Navy
#000080
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25217E #7A7E21
analogous
#214B7E #25217E #53217E
triadic
#25217E #7E2521 #217E25
tetradic
#25217E #7E214B #7A7E21 #217E53
square
#25217E #7E214B #7A7E21 #217E53
split-complementary
#25217E #7E5321 #4B7E21
monochromatic
#09081D #17144E #25217E #332EAE #504AD0
Accessibility & contrast
On white
13.15
#25217E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#25217E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25217E
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25217E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25217E | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #25217e; /* rgb */ color: rgb(37, 33, 126); /* oklch */ color: oklch(32.4% 0.150 275.9);
Tailwind
colors: {
custom: {
50: '#6d5da4',
500: '#25217e',
950: '#000000',
},
}SCSS
$custom: #25217e; $custom-light: #6d5da4; $custom-dark: #000000;
JSON
{
"hex": "#25217e",
"rgb": {
"r": 37,
"g": 33,
"b": 126
},
"hsl": {
"h": 242.581,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.32434,
"c": 0.15023,
"h": 275.9
},
"luminance": 0.02987
}Semantic roles & 50–950 ramp
primary
#25217E
secondary
#ACB14A
accent
#E246DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F