#252E7F#252E7F
#252E7F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.136 H 272.3°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #252E7F |
|---|---|
| RGB | rgb(37, 46, 127) |
| HSL | hsl(234, 55%, 32%) |
| HSV | hsv(234, 71%, 50%) |
| CMYK | cmyk(70.9%, 63.8%, 0%, 50.2%) |
| CIE-LAB | lab(23.27, 24.95, -46.98) |
| CIE-LCH | lch(23.27, 53.19, 297.97°) |
| OKLab | oklab(34.84% 0.0056 -0.1355) |
| OKLCH | oklch(34.84% 0.136 272.3) |
| XYZ | xyz(5.5694, 3.8791, 20.5298) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.96
Darkslateblue
#483D8B
ΔE00 6.46
Sapphire (survey)
#2138AB
ΔE00 6.78
Blueberry
#464196
ΔE00 7.05
Royal
#0C1793
ΔE00 7.15
Marine
#042E60
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252E7F #7F7625
analogous
#255B7F #252E7F #49257F
triadic
#252E7F #7F252E #2E7F25
tetradic
#252E7F #7F255B #7F7625 #257F49
square
#252E7F #7F255B #7F7625 #257F49
split-complementary
#252E7F #7F4925 #5B7F25
monochromatic
#090C20 #171D50 #252E7F #333FAE #525ECD
Accessibility & contrast
On white
11.82
#252E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#252E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252E7F
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252E7F | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #252e7f; /* rgb */ color: rgb(37, 46, 127); /* oklch */ color: oklch(34.8% 0.136 272.3);
Tailwind
colors: {
custom: {
50: '#6c66a5',
500: '#252e7f',
950: '#000000',
},
}SCSS
$custom: #252e7f; $custom-light: #6c66a5; $custom-dark: #000000;
JSON
{
"hex": "#252e7f",
"rgb": {
"r": 37,
"g": 46,
"b": 127
},
"hsl": {
"h": 234,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.34844,
"c": 0.13564,
"h": 272.3
},
"luminance": 0.0388
}Semantic roles & 50–950 ramp
primary
#252E7F
secondary
#B1A74F
accent
#CF4ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F