#252D7C#252D7C
#252D7C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.133 H 272.8°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #252D7C |
|---|---|
| RGB | rgb(37, 45, 124) |
| HSL | hsl(234, 54%, 32%) |
| HSV | hsv(234, 70%, 49%) |
| CMYK | cmyk(70.2%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(22.74, 24.50, -45.95) |
| CIE-LCH | lch(22.74, 52.07, 298.07°) |
| OKLab | oklab(34.37% 0.0065 -0.1325) |
| OKLCH | oklch(34.37% 0.133 272.8) |
| XYZ | xyz(5.3382, 3.7248, 19.5025) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.63
Darkslateblue
#483D8B
ΔE00 6.66
Marine
#042E60
ΔE00 7.11
Royal
#0C1793
ΔE00 7.22
Sapphire (survey)
#2138AB
ΔE00 7.30
Blueberry
#464196
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252D7C #7C7425
analogous
#25597C #252D7C #49257C
triadic
#252D7C #7C252D #2D7C25
tetradic
#252D7C #7C2559 #7C7425 #257C49
square
#252D7C #7C2559 #7C7425 #257C49
split-complementary
#252D7C #7C4925 #597C25
monochromatic
#090B1E #171C4D #252D7C #333EAB #505CCB
Accessibility & contrast
On white
12.03
#252D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#252D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252D7C
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252D7C | 1.00 | 12.03 | 1.75 | 12.03 |
| #FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #252d7c; /* rgb */ color: rgb(37, 45, 124); /* oklch */ color: oklch(34.4% 0.133 272.8);
Tailwind
colors: {
custom: {
50: '#6c66a3',
500: '#252d7c',
950: '#000000',
},
}SCSS
$custom: #252d7c; $custom-light: #6c66a3; $custom-dark: #000000;
JSON
{
"hex": "#252d7c",
"rgb": {
"r": 37,
"g": 45,
"b": 124
},
"hsl": {
"h": 234.483,
"s": 54.037,
"l": 31.569
},
"oklch": {
"l": 0.34373,
"c": 0.13265,
"h": 272.8
},
"luminance": 0.03725
}Semantic roles & 50–950 ramp
primary
#252D7C
secondary
#AEA54F
accent
#D04ADD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F