#252C77#252C77
#252C77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.127 H 273.4°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).
Color values
| HEX | #252C77 |
|---|---|
| RGB | rgb(37, 44, 119) |
| HSL | hsl(235, 53%, 31%) |
| HSV | hsv(235, 69%, 47%) |
| CMYK | cmyk(68.9%, 63%, 0%, 53.3%) |
| CIE-LAB | lab(22.04, 23.29, -43.91) |
| CIE-LCH | lch(22.04, 49.71, 297.94°) |
| OKLab | oklab(33.72% 0.0075 -0.1265) |
| OKLCH | oklch(33.72% 0.127 273.4) |
| XYZ | xyz(4.9923, 3.5261, 17.8667) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.39
Marine
#042E60
ΔE00 6.78
Darkslateblue
#483D8B
ΔE00 6.99
Royal
#0C1793
ΔE00 7.61
Blueberry
#464196
ΔE00 7.91
Sapphire (survey)
#2138AB
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C77 #777025
analogous
#255577 #252C77 #472577
triadic
#252C77 #77252C #2C7725
tetradic
#252C77 #772555 #777025 #257747
square
#252C77 #772555 #777025 #257747
split-complementary
#252C77 #774725 #557725
monochromatic
#08091A #161B48 #252C77 #343DA6 #4E59C8
Accessibility & contrast
On white
12.31
#252C77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#252C77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C77
12.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C77 | 1.00 | 12.31 | 1.71 | 12.31 |
| #FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #252c77; /* rgb */ color: rgb(37, 44, 119); /* oklch */ color: oklch(33.7% 0.127 273.4);
Tailwind
colors: {
custom: {
50: '#6b659f',
500: '#252c77',
950: '#000000',
},
}SCSS
$custom: #252c77; $custom-light: #6b659f; $custom-dark: #000000;
JSON
{
"hex": "#252c77",
"rgb": {
"r": 37,
"g": 44,
"b": 119
},
"hsl": {
"h": 234.878,
"s": 52.564,
"l": 30.588
},
"oklch": {
"l": 0.33719,
"c": 0.12675,
"h": 273.4
},
"luminance": 0.03527
}Semantic roles & 50–950 ramp
primary
#252C77
secondary
#A9A24E
accent
#D04CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E