#252C7E#252C7E
#252C7E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.137 H 273.0°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #252C7E |
|---|---|
| RGB | rgb(37, 44, 126) |
| HSL | hsl(235, 55%, 32%) |
| HSV | hsv(235, 71%, 49%) |
| CMYK | cmyk(70.6%, 65.1%, 0%, 50.6%) |
| CIE-LAB | lab(22.66, 25.93, -47.35) |
| CIE-LCH | lch(22.66, 53.99, 298.71°) |
| OKLab | oklab(34.37% 0.0072 -0.1366) |
| OKLCH | oklch(34.37% 0.137 273) |
| XYZ | xyz(5.4283, 3.7005, 20.1628) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.34
Royal
#0C1793
ΔE00 6.70
Darkslateblue
#483D8B
ΔE00 6.71
Sapphire (survey)
#2138AB
ΔE00 7.10
Blueberry
#464196
ΔE00 7.42
Marine
#042E60
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C7E #7E7725
analogous
#25597E #252C7E #4B257E
triadic
#252C7E #7E252C #2C7E25
tetradic
#252C7E #7E2559 #7E7725 #257E4B
square
#252C7E #7E2559 #7E7725 #257E4B
split-complementary
#252C7E #7E4B25 #597E25
monochromatic
#090B1F #171B4F #252C7E #333DAD #515BCC
Accessibility & contrast
On white
12.07
#252C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#252C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C7E
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C7E | 1.00 | 12.07 | 1.74 | 12.07 |
| #FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #252c7e; /* rgb */ color: rgb(37, 44, 126); /* oklch */ color: oklch(34.4% 0.137 273.0);
Tailwind
colors: {
custom: {
50: '#6c65a4',
500: '#252c7e',
950: '#000000',
},
}SCSS
$custom: #252c7e; $custom-light: #6c65a4; $custom-dark: #000000;
JSON
{
"hex": "#252c7e",
"rgb": {
"r": 37,
"g": 44,
"b": 126
},
"hsl": {
"h": 235.281,
"s": 54.601,
"l": 31.961
},
"oklch": {
"l": 0.34366,
"c": 0.13681,
"h": 273
},
"luminance": 0.03701
}Semantic roles & 50–950 ramp
primary
#252C7E
secondary
#B0A84F
accent
#D24ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F