#25217C#25217C
#25217C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.148 H 276.1°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).
Color values
| HEX | #25217C |
|---|---|
| RGB | rgb(37, 33, 124) |
| HSL | hsl(243, 58%, 31%) |
| HSV | hsv(243, 73%, 49%) |
| CMYK | cmyk(70.2%, 73.4%, 0%, 51.4%) |
| CIE-LAB | lab(19.78, 32.40, -50.79) |
| CIE-LCH | lch(19.78, 60.24, 302.53°) |
| OKLab | oklab(32.22% 0.0158 -0.1467) |
| OKLCH | oklch(32.22% 0.148 276.1) |
| XYZ | xyz(4.9437, 2.9358, 19.3710) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.69
Royal
#0C1793
ΔE00 4.51
Dark Royal Blue
#02066F
ΔE00 6.24
Indigo (survey)
#380282
ΔE00 6.45
Deep Blue
#040273
ΔE00 6.66
Navy
#000080
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25217C #787C21
analogous
#214A7C #25217C #52217C
triadic
#25217C #7C2521 #217C25
tetradic
#25217C #7C214A #787C21 #217C52
square
#25217C #7C214A #787C21 #217C52
split-complementary
#25217C #7C5221 #4A7C21
monochromatic
#08071B #17144C #25217C #332EAC #4F49CF
Accessibility & contrast
On white
13.23
#25217C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#25217C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25217C
13.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25217C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25217C | 1.00 | 13.23 | 1.59 | 13.23 |
| #FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #25217c; /* rgb */ color: rgb(37, 33, 124); /* oklch */ color: oklch(32.2% 0.148 276.1);
Tailwind
colors: {
custom: {
50: '#6d5da3',
500: '#25217c',
950: '#000000',
},
}SCSS
$custom: #25217c; $custom-light: #6d5da3; $custom-dark: #000000;
JSON
{
"hex": "#25217c",
"rgb": {
"r": 37,
"g": 33,
"b": 124
},
"hsl": {
"h": 242.637,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.32224,
"c": 0.14756,
"h": 276.1
},
"luminance": 0.02936
}Semantic roles & 50–950 ramp
primary
#25217C
secondary
#AAAF4A
accent
#E147DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F