#252E84#252E84
#252E84 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.143 H 272.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #252E84 |
|---|---|
| RGB | rgb(37, 46, 132) |
| HSL | hsl(234, 56%, 33%) |
| HSV | hsv(234, 72%, 52%) |
| CMYK | cmyk(72%, 65.2%, 0%, 48.2%) |
| CIE-LAB | lab(23.71, 26.83, -49.40) |
| CIE-LCH | lch(23.71, 56.22, 298.51°) |
| OKLab | oklab(35.31% 0.0053 -0.1426) |
| OKLCH | oklch(35.31% 0.143 272.1) |
| XYZ | xyz(5.9034, 4.0127, 22.2887) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 6.07
Midnight Blue
#191970
ΔE00 6.09
Darkslateblue
#483D8B
ΔE00 6.36
Royal
#0C1793
ΔE00 6.62
Blueberry
#464196
ΔE00 6.78
Marine
#042E60
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252E84 #847B25
analogous
#255D84 #252E84 #4B2584
triadic
#252E84 #84252E #2E8425
tetradic
#252E84 #84255D #847B25 #25844B
square
#252E84 #84255D #847B25 #25844B
split-complementary
#252E84 #844B25 #5D8425
monochromatic
#0A0D24 #181D54 #252E84 #323FB4 #5460CF
Accessibility & contrast
On white
11.65
#252E84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#252E84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252E84
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252E84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252E84 | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #252e84; /* rgb */ color: rgb(37, 46, 132); /* oklch */ color: oklch(35.3% 0.143 272.1);
Tailwind
colors: {
custom: {
50: '#6d66a9',
500: '#252e84',
950: '#000000',
},
}SCSS
$custom: #252e84; $custom-light: #6d66a9; $custom-dark: #000000;
JSON
{
"hex": "#252e84",
"rgb": {
"r": 37,
"g": 46,
"b": 132
},
"hsl": {
"h": 234.316,
"s": 56.213,
"l": 33.137
},
"oklch": {
"l": 0.3531,
"c": 0.14272,
"h": 272.1
},
"luminance": 0.04013
}Semantic roles & 50–950 ramp
primary
#252E84
secondary
#B3AA51
accent
#D148E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F