#252185#252185
#252185 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.159 H 275.1°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #252185 |
|---|---|
| RGB | rgb(37, 33, 133) |
| HSL | hsl(242, 60%, 33%) |
| HSV | hsv(242, 75%, 52%) |
| CMYK | cmyk(72.2%, 75.2%, 0%, 47.8%) |
| CIE-LAB | lab(20.73, 35.54, -54.93) |
| CIE-LCH | lch(20.73, 65.43, 302.90°) |
| OKLab | oklab(33.18% 0.0141 -0.1588) |
| OKLCH | oklch(33.18% 0.159 275.1) |
| XYZ | xyz(5.5390, 3.1740, 22.5065) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.37
Midnight Blue
#191970
ΔE00 3.71
Indigo (survey)
#380282
ΔE00 6.10
Cobalt Blue
#030AA7
ΔE00 6.14
Darkblue
#00008B
ΔE00 6.14
Navy
#000080
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252185 #818521
analogous
#214F85 #252185 #572185
triadic
#252185 #852521 #218525
tetradic
#252185 #85214F #818521 #218557
square
#252185 #85214F #818521 #218557
split-complementary
#252185 #855721 #4F8521
monochromatic
#0A0923 #171554 #252185 #332DB6 #534DD3
Accessibility & contrast
On white
12.85
#252185 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#252185 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252185
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252185 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252185 | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #252185; /* rgb */ color: rgb(37, 33, 133); /* oklch */ color: oklch(33.2% 0.159 275.1);
Tailwind
colors: {
custom: {
50: '#6f5eaa',
500: '#252185',
950: '#000000',
},
}SCSS
$custom: #252185; $custom-light: #6f5eaa; $custom-dark: #000000;
JSON
{
"hex": "#252185",
"rgb": {
"r": 37,
"g": 33,
"b": 133
},
"hsl": {
"h": 242.4,
"s": 60.241,
"l": 32.549
},
"oklch": {
"l": 0.3318,
"c": 0.15943,
"h": 275.1
},
"luminance": 0.03174
}Semantic roles & 50–950 ramp
primary
#252185
secondary
#B2B64C
accent
#E344DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F