#25217F#25217F
#25217F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.152 H 275.8°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).
Color values
| HEX | #25217F |
|---|---|
| RGB | rgb(37, 33, 127) |
| HSL | hsl(243, 59%, 31%) |
| HSV | hsv(243, 74%, 50%) |
| CMYK | cmyk(70.9%, 74%, 0%, 50.2%) |
| CIE-LAB | lab(20.10, 33.45, -52.18) |
| CIE-LCH | lch(20.10, 61.98, 302.66°) |
| OKLab | oklab(32.54% 0.0152 -0.1508) |
| OKLCH | oklch(32.54% 0.152 275.8) |
| XYZ | xyz(5.1363, 3.0129, 20.3854) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.99
Royal
#0C1793
ΔE00 4.10
Indigo (survey)
#380282
ΔE00 6.29
Dark Royal Blue
#02066F
ΔE00 6.31
Darkblue
#00008B
ΔE00 6.50
Navy
#000080
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25217F #7B7F21
analogous
#214C7F #25217F #54217F
triadic
#25217F #7F2521 #217F25
tetradic
#25217F #7F214C #7B7F21 #217F54
square
#25217F #7F214C #7B7F21 #217F54
split-complementary
#25217F #7F5421 #4C7F21
monochromatic
#09081E #17144E #25217F #332EB0 #504AD0
Accessibility & contrast
On white
13.10
#25217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#25217F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25217F
13.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25217F | 1.00 | 13.10 | 1.60 | 13.10 |
| #FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #25217f; /* rgb */ color: rgb(37, 33, 127); /* oklch */ color: oklch(32.5% 0.152 275.8);
Tailwind
colors: {
custom: {
50: '#6e5da5',
500: '#25217f',
950: '#000000',
},
}SCSS
$custom: #25217f; $custom-light: #6e5da5; $custom-dark: #000000;
JSON
{
"hex": "#25217f",
"rgb": {
"r": 37,
"g": 33,
"b": 127
},
"hsl": {
"h": 242.553,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.3254,
"c": 0.15156,
"h": 275.8
},
"luminance": 0.03013
}Semantic roles & 50–950 ramp
primary
#25217F
secondary
#ADB24A
accent
#E246DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F