#252D7F#252D7F
#252D7F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.137 H 272.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #252D7F |
|---|---|
| RGB | rgb(37, 45, 127) |
| HSL | hsl(235, 55%, 32%) |
| HSV | hsv(235, 71%, 50%) |
| CMYK | cmyk(70.9%, 64.6%, 0%, 50.2%) |
| CIE-LAB | lab(23.01, 25.63, -47.41) |
| CIE-LCH | lch(23.01, 53.89, 298.39°) |
| OKLab | oklab(34.65% 0.0064 -0.1368) |
| OKLCH | oklch(34.65% 0.137 272.7) |
| XYZ | xyz(5.5308, 3.8019, 20.5169) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.66
Darkslateblue
#483D8B
ΔE00 6.56
Royal
#0C1793
ΔE00 6.86
Sapphire (survey)
#2138AB
ΔE00 6.86
Blueberry
#464196
ΔE00 7.20
Marine
#042E60
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252D7F #7F7725
analogous
#255A7F #252D7F #4A257F
triadic
#252D7F #7F252D #2D7F25
tetradic
#252D7F #7F255A #7F7725 #257F4A
square
#252D7F #7F255A #7F7725 #257F4A
split-complementary
#252D7F #7F4A25 #5A7F25
monochromatic
#090B20 #171C50 #252D7F #333EAE #525DCD
Accessibility & contrast
On white
11.93
#252D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#252D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252D7F
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252D7F | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #252d7f; /* rgb */ color: rgb(37, 45, 127); /* oklch */ color: oklch(34.7% 0.137 272.7);
Tailwind
colors: {
custom: {
50: '#6c66a5',
500: '#252d7f',
950: '#000000',
},
}SCSS
$custom: #252d7f; $custom-light: #6c66a5; $custom-dark: #000000;
JSON
{
"hex": "#252d7f",
"rgb": {
"r": 37,
"g": 45,
"b": 127
},
"hsl": {
"h": 234.667,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.34651,
"c": 0.13694,
"h": 272.7
},
"luminance": 0.03802
}Semantic roles & 50–950 ramp
primary
#252D7F
secondary
#B1A84F
accent
#D14ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F