#252386#252386
#252386 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.159 H 274.6°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).
Color values
| HEX | #252386 |
|---|---|
| RGB | rgb(37, 35, 134) |
| HSL | hsl(241, 59%, 33%) |
| HSV | hsv(241, 74%, 53%) |
| CMYK | cmyk(72.4%, 73.9%, 0%, 47.5%) |
| CIE-LAB | lab(21.27, 34.68, -54.67) |
| CIE-LCH | lch(21.27, 64.74, 302.39°) |
| OKLab | oklab(33.6% 0.0127 -0.158) |
| OKLCH | oklch(33.6% 0.159 274.6) |
| XYZ | xyz(5.6656, 3.3161, 22.8911) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.64
Midnight Blue
#191970
ΔE00 4.03
Cobalt Blue
#030AA7
ΔE00 6.37
Indigo (survey)
#380282
ΔE00 6.58
Darkblue
#00008B
ΔE00 6.60
Navy
#000080
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252386 #848623
analogous
#235286 #252386 #562386
triadic
#252386 #862523 #238625
tetradic
#252386 #862352 #848623 #238656
square
#252386 #862352 #848623 #238656
split-complementary
#252386 #865623 #528623
monochromatic
#0A0A25 #181655 #252386 #3230B7 #5452D2
Accessibility & contrast
On white
12.62
#252386 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#252386 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252386
12.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252386 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252386 | 1.00 | 12.62 | 1.66 | 12.62 |
| #FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #252386; /* rgb */ color: rgb(37, 35, 134); /* oklch */ color: oklch(33.6% 0.159 274.6);
Tailwind
colors: {
custom: {
50: '#6f5faa',
500: '#252386',
950: '#000000',
},
}SCSS
$custom: #252386; $custom-light: #6f5faa; $custom-dark: #000000;
JSON
{
"hex": "#252386",
"rgb": {
"r": 37,
"g": 35,
"b": 134
},
"hsl": {
"h": 241.212,
"s": 58.58,
"l": 33.137
},
"oklch": {
"l": 0.33597,
"c": 0.15856,
"h": 274.6
},
"luminance": 0.03317
}Semantic roles & 50–950 ramp
primary
#252386
secondary
#B3B54F
accent
#E246DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F