#252E7E#252E7E
#252E7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.134 H 272.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #252E7E |
|---|---|
| RGB | rgb(37, 46, 126) |
| HSL | hsl(234, 55%, 32%) |
| HSV | hsv(234, 71%, 49%) |
| CMYK | cmyk(70.6%, 63.5%, 0%, 50.6%) |
| CIE-LAB | lab(23.18, 24.57, -46.49) |
| CIE-LCH | lch(23.18, 52.59, 297.86°) |
| OKLab | oklab(34.75% 0.0056 -0.1341) |
| OKLCH | oklch(34.75% 0.134 272.4) |
| XYZ | xyz(5.5046, 3.8531, 20.1883) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.95
Darkslateblue
#483D8B
ΔE00 6.49
Sapphire (survey)
#2138AB
ΔE00 6.93
Blueberry
#464196
ΔE00 7.11
Marine
#042E60
ΔE00 7.15
Royal
#0C1793
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252E7E #7E7525
analogous
#255A7E #252E7E #49257E
triadic
#252E7E #7E252E #2E7E25
tetradic
#252E7E #7E255A #7E7525 #257E49
square
#252E7E #7E255A #7E7525 #257E49
split-complementary
#252E7E #7E4925 #5A7E25
monochromatic
#090B1F #171D4F #252E7E #333FAD #515ECC
Accessibility & contrast
On white
11.86
#252E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#252E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252E7E
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252E7E | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #252e7e; /* rgb */ color: rgb(37, 46, 126); /* oklch */ color: oklch(34.8% 0.134 272.4);
Tailwind
colors: {
custom: {
50: '#6c66a4',
500: '#252e7e',
950: '#000000',
},
}SCSS
$custom: #252e7e; $custom-light: #6c66a4; $custom-dark: #000000;
JSON
{
"hex": "#252e7e",
"rgb": {
"r": 37,
"g": 46,
"b": 126
},
"hsl": {
"h": 233.933,
"s": 54.601,
"l": 31.961
},
"oklch": {
"l": 0.34752,
"c": 0.13421,
"h": 272.4
},
"luminance": 0.03854
}Semantic roles & 50–950 ramp
primary
#252E7E
secondary
#B0A64F
accent
#CF4ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F