#25218F#25218F
#25218F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.172 H 274.0°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #25218F |
|---|---|
| RGB | rgb(37, 33, 143) |
| HSL | hsl(242, 63%, 35%) |
| HSV | hsv(242, 77%, 56%) |
| CMYK | cmyk(74.1%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(21.81, 38.97, -59.39) |
| CIE-LCH | lch(21.81, 71.04, 303.27°) |
| OKLab | oklab(34.27% 0.0121 -0.1718) |
| OKLCH | oklch(34.27% 0.172 274) |
| XYZ | xyz(6.2631, 3.4636, 26.3197) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.61
Cobalt Blue
#030AA7
ΔE00 4.99
Midnight Blue
#191970
ΔE00 5.06
Royal Blue (survey)
#0504AA
ΔE00 5.56
Indigo Blue
#3A18B1
ΔE00 5.64
Darkblue
#00008B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25218F #8B8F21
analogous
#21548F #25218F #5C218F
triadic
#25218F #8F2521 #218F25
tetradic
#25218F #8F2154 #8B8F21 #218F5C
square
#25218F #8F2154 #8B8F21 #218F5C
split-complementary
#25218F #8F5C21 #548F21
monochromatic
#0B0A2C #18165D #25218F #322CC1 #5853D7
Accessibility & contrast
On white
12.41
#25218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#25218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25218F
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25218F | 1.00 | 12.41 | 1.69 | 12.41 |
| #FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #25218f; /* rgb */ color: rgb(37, 33, 143); /* oklch */ color: oklch(34.3% 0.172 274.0);
Tailwind
colors: {
custom: {
50: '#715eb1',
500: '#25218f',
950: '#000000',
},
}SCSS
$custom: #25218f; $custom-light: #715eb1; $custom-dark: #000000;
JSON
{
"hex": "#25218f",
"rgb": {
"r": 37,
"g": 33,
"b": 143
},
"hsl": {
"h": 242.182,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.34273,
"c": 0.17222,
"h": 274
},
"luminance": 0.03464
}Semantic roles & 50–950 ramp
primary
#25218F
secondary
#B7BB51
accent
#E642E0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980