#25218E#25218E
#25218E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.2% C 0.171 H 274.1°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #25218E |
|---|---|
| RGB | rgb(37, 33, 142) |
| HSL | hsl(242, 62%, 34%) |
| HSV | hsv(242, 77%, 56%) |
| CMYK | cmyk(73.9%, 76.8%, 0%, 44.3%) |
| CIE-LAB | lab(21.70, 38.63, -58.95) |
| CIE-LCH | lch(21.70, 70.48, 303.24°) |
| OKLab | oklab(34.16% 0.0123 -0.1705) |
| OKLCH | oklch(34.16% 0.171 274.1) |
| XYZ | xyz(6.1877, 3.4334, 25.9226) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.65
Midnight Blue
#191970
ΔE00 4.92
Cobalt Blue
#030AA7
ΔE00 5.09
Royal Blue (survey)
#0504AA
ΔE00 5.66
Indigo Blue
#3A18B1
ΔE00 5.78
Darkblue
#00008B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25218E #8A8E21
analogous
#21548E #25218E #5C218E
triadic
#25218E #8E2521 #218E25
tetradic
#25218E #8E2154 #8A8E21 #218E5C
square
#25218E #8E2154 #8A8E21 #218E5C
split-complementary
#25218E #8E5C21 #548E21
monochromatic
#0B0A2B #18155C #25218E #322DC0 #5752D7
Accessibility & contrast
On white
12.45
#25218E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#25218E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25218E
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25218E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25218E | 1.00 | 12.45 | 1.69 | 12.45 |
| #FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #25218e; /* rgb */ color: rgb(37, 33, 142); /* oklch */ color: oklch(34.2% 0.171 274.1);
Tailwind
colors: {
custom: {
50: '#715eb0',
500: '#25218e',
950: '#000000',
},
}SCSS
$custom: #25218e; $custom-light: #715eb0; $custom-dark: #000000;
JSON
{
"hex": "#25218e",
"rgb": {
"r": 37,
"g": 33,
"b": 142
},
"hsl": {
"h": 242.202,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.34162,
"c": 0.17096,
"h": 274.1
},
"luminance": 0.03434
}Semantic roles & 50–950 ramp
primary
#25218E
secondary
#B7BA50
accent
#E542DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980