#252C79#252C79
#252C79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.130 H 273.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).
Color values
| HEX | #252C79 |
|---|---|
| RGB | rgb(37, 44, 121) |
| HSL | hsl(235, 53%, 31%) |
| HSV | hsv(235, 69%, 47%) |
| CMYK | cmyk(69.4%, 63.6%, 0%, 52.5%) |
| CIE-LAB | lab(22.21, 24.05, -44.90) |
| CIE-LCH | lch(22.21, 50.94, 298.17°) |
| OKLab | oklab(33.9% 0.0075 -0.1294) |
| OKLCH | oklch(33.9% 0.13 273.3) |
| XYZ | xyz(5.1137, 3.5747, 18.5059) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.34
Darkslateblue
#483D8B
ΔE00 6.89
Marine
#042E60
ΔE00 6.98
Royal
#0C1793
ΔE00 7.34
Blueberry
#464196
ΔE00 7.75
Sapphire (survey)
#2138AB
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C79 #797225
analogous
#255679 #252C79 #482579
triadic
#252C79 #79252C #2C7925
tetradic
#252C79 #792556 #797225 #257948
square
#252C79 #792556 #797225 #257948
split-complementary
#252C79 #794825 #567925
monochromatic
#080A1B #171B4A #252C79 #333DA8 #4F59C9
Accessibility & contrast
On white
12.24
#252C79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#252C79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C79
12.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C79 | 1.00 | 12.24 | 1.72 | 12.24 |
| #FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #252c79; /* rgb */ color: rgb(37, 44, 121); /* oklch */ color: oklch(33.9% 0.130 273.3);
Tailwind
colors: {
custom: {
50: '#6b65a0',
500: '#252c79',
950: '#000000',
},
}SCSS
$custom: #252c79; $custom-light: #6b65a0; $custom-dark: #000000;
JSON
{
"hex": "#252c79",
"rgb": {
"r": 37,
"g": 44,
"b": 121
},
"hsl": {
"h": 235,
"s": 53.165,
"l": 30.98
},
"oklch": {
"l": 0.33902,
"c": 0.12965,
"h": 273.3
},
"luminance": 0.03575
}Semantic roles & 50–950 ramp
primary
#252C79
secondary
#ABA44E
accent
#D04BDD
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E