#252B7E#252B7E
#252B7E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.138 H 273.3°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #252B7E |
|---|---|
| RGB | rgb(37, 43, 126) |
| HSL | hsl(236, 55%, 32%) |
| HSV | hsv(236, 71%, 49%) |
| CMYK | cmyk(70.6%, 65.9%, 0%, 50.6%) |
| CIE-LAB | lab(22.40, 26.61, -47.77) |
| CIE-LCH | lch(22.40, 54.68, 299.12°) |
| OKLab | oklab(34.18% 0.0081 -0.1379) |
| OKLCH | oklch(34.18% 0.138 273.3) |
| XYZ | xyz(5.3915, 3.6269, 20.1506) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.06
Royal
#0C1793
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 6.84
Sapphire (survey)
#2138AB
ΔE00 7.20
Blueberry
#464196
ΔE00 7.58
Marine
#042E60
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252B7E #7E7825
analogous
#25587E #252B7E #4C257E
triadic
#252B7E #7E252B #2B7E25
tetradic
#252B7E #7E2558 #7E7825 #257E4C
square
#252B7E #7E2558 #7E7825 #257E4C
split-complementary
#252B7E #7E4C25 #587E25
monochromatic
#090B1F #171B4F #252B7E #333BAD #515ACC
Accessibility & contrast
On white
12.17
#252B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#252B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252B7E
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252B7E | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #252b7e; /* rgb */ color: rgb(37, 43, 126); /* oklch */ color: oklch(34.2% 0.138 273.3);
Tailwind
colors: {
custom: {
50: '#6c64a4',
500: '#252b7e',
950: '#000000',
},
}SCSS
$custom: #252b7e; $custom-light: #6c64a4; $custom-dark: #000000;
JSON
{
"hex": "#252b7e",
"rgb": {
"r": 37,
"g": 43,
"b": 126
},
"hsl": {
"h": 235.955,
"s": 54.601,
"l": 31.961
},
"oklch": {
"l": 0.34176,
"c": 0.1381,
"h": 273.3
},
"luminance": 0.03627
}Semantic roles & 50–950 ramp
primary
#252B7E
secondary
#B0AA4F
accent
#D44ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F