#252186#252186
#252186 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.161 H 275.0°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).
Color values
| HEX | #252186 |
|---|---|
| RGB | rgb(37, 33, 134) |
| HSL | hsl(242, 60%, 33%) |
| HSV | hsv(242, 75%, 53%) |
| CMYK | cmyk(72.4%, 75.4%, 0%, 47.5%) |
| CIE-LAB | lab(20.83, 35.89, -55.38) |
| CIE-LCH | lch(20.83, 66.00, 302.94°) |
| OKLab | oklab(33.29% 0.0139 -0.1601) |
| OKLCH | oklch(33.29% 0.161 275) |
| XYZ | xyz(5.6085, 3.2017, 22.8721) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.27
Midnight Blue
#191970
ΔE00 3.84
Cobalt Blue
#030AA7
ΔE00 6.02
Indigo (survey)
#380282
ΔE00 6.08
Darkblue
#00008B
ΔE00 6.10
Navy
#000080
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252186 #828621
analogous
#215086 #252186 #572186
triadic
#252186 #862521 #218625
tetradic
#252186 #862150 #828621 #218657
square
#252186 #862150 #828621 #218657
split-complementary
#252186 #865721 #508621
monochromatic
#0A0924 #171555 #252186 #332DB7 #534ED3
Accessibility & contrast
On white
12.80
#252186 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#252186 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252186
12.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252186 | 1.00 | 12.80 | 1.64 | 12.80 |
| #FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #252186; /* rgb */ color: rgb(37, 33, 134); /* oklch */ color: oklch(33.3% 0.161 275.0);
Tailwind
colors: {
custom: {
50: '#6f5eaa',
500: '#252186',
950: '#000000',
},
}SCSS
$custom: #252186; $custom-light: #6f5eaa; $custom-dark: #000000;
JSON
{
"hex": "#252186",
"rgb": {
"r": 37,
"g": 33,
"b": 134
},
"hsl": {
"h": 242.376,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.33288,
"c": 0.16073,
"h": 275
},
"luminance": 0.03202
}Semantic roles & 50–950 ramp
primary
#252186
secondary
#B2B74C
accent
#E444DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F