#252087#252087
#252087 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.163 H 275.0°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #252087 |
|---|---|
| RGB | rgb(37, 32, 135) |
| HSL | hsl(243, 62%, 33%) |
| HSV | hsv(243, 76%, 53%) |
| CMYK | cmyk(72.6%, 76.3%, 0%, 47.1%) |
| CIE-LAB | lab(20.73, 36.82, -56.18) |
| CIE-LCH | lch(20.73, 67.17, 303.24°) |
| OKLab | oklab(33.25% 0.0143 -0.1624) |
| OKLCH | oklch(33.25% 0.163 275) |
| XYZ | xyz(5.6512, 3.1751, 23.2320) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.00
Midnight Blue
#191970
ΔE00 3.91
Cobalt Blue
#030AA7
ΔE00 5.73
Darkblue
#00008B
ΔE00 5.83
Indigo (survey)
#380282
ΔE00 5.83
Navy
#000080
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252087 #828720
analogous
#204E87 #252087 #592087
triadic
#252087 #872520 #208725
tetradic
#252087 #87204E #828720 #208759
square
#252087 #87204E #828720 #208759
split-complementary
#252087 #875920 #4E8720
monochromatic
#0A0924 #171456 #252087 #332CB8 #534DD5
Accessibility & contrast
On white
12.84
#252087 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#252087 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252087
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252087 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252087 | 1.00 | 12.84 | 1.64 | 12.84 |
| #FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002D85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #252087; /* rgb */ color: rgb(37, 32, 135); /* oklch */ color: oklch(33.2% 0.163 275.0);
Tailwind
colors: {
custom: {
50: '#705dab',
500: '#252087',
950: '#000000',
},
}SCSS
$custom: #252087; $custom-light: #705dab; $custom-dark: #000000;
JSON
{
"hex": "#252087",
"rgb": {
"r": 37,
"g": 32,
"b": 135
},
"hsl": {
"h": 242.913,
"s": 61.677,
"l": 32.745
},
"oklch": {
"l": 0.33248,
"c": 0.16306,
"h": 275
},
"luminance": 0.03176
}Semantic roles & 50–950 ramp
primary
#252087
secondary
#B2B84B
accent
#E543DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F