#252C78#252C78
#252C78 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.128 H 273.3°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #252C78 |
|---|---|
| RGB | rgb(37, 44, 120) |
| HSL | hsl(235, 53%, 31%) |
| HSV | hsv(235, 69%, 47%) |
| CMYK | cmyk(69.2%, 63.3%, 0%, 52.9%) |
| CIE-LAB | lab(22.13, 23.67, -44.41) |
| CIE-LCH | lch(22.13, 50.32, 298.06°) |
| OKLab | oklab(33.81% 0.0075 -0.128) |
| OKLCH | oklch(33.81% 0.128 273.3) |
| XYZ | xyz(5.0527, 3.5503, 18.1847) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.36
Marine
#042E60
ΔE00 6.88
Darkslateblue
#483D8B
ΔE00 6.94
Royal
#0C1793
ΔE00 7.47
Blueberry
#464196
ΔE00 7.83
Sapphire (survey)
#2138AB
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C78 #787125
analogous
#255578 #252C78 #472578
triadic
#252C78 #78252C #2C7825
tetradic
#252C78 #782555 #787125 #257847
square
#252C78 #782555 #787125 #257847
split-complementary
#252C78 #784725 #557825
monochromatic
#080A1A #171B49 #252C78 #333DA7 #4F59C9
Accessibility & contrast
On white
12.28
#252C78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#252C78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C78
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C78 | 1.00 | 12.28 | 1.71 | 12.28 |
| #FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #252c78; /* rgb */ color: rgb(37, 44, 120); /* oklch */ color: oklch(33.8% 0.128 273.3);
Tailwind
colors: {
custom: {
50: '#6b65a0',
500: '#252c78',
950: '#000000',
},
}SCSS
$custom: #252c78; $custom-light: #6b65a0; $custom-dark: #000000;
JSON
{
"hex": "#252c78",
"rgb": {
"r": 37,
"g": 44,
"b": 120
},
"hsl": {
"h": 234.94,
"s": 52.866,
"l": 30.784
},
"oklch": {
"l": 0.3381,
"c": 0.1282,
"h": 273.3
},
"luminance": 0.03551
}Semantic roles & 50–950 ramp
primary
#252C78
secondary
#AAA34E
accent
#D04CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E