#252B79#252B79
#252B79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.131 H 273.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #252B79 |
|---|---|
| RGB | rgb(37, 43, 121) |
| HSL | hsl(236, 53%, 31%) |
| HSV | hsv(236, 69%, 47%) |
| CMYK | cmyk(69.4%, 64.5%, 0%, 52.5%) |
| CIE-LAB | lab(21.95, 24.73, -45.33) |
| CIE-LCH | lch(21.95, 51.64, 298.62°) |
| OKLab | oklab(33.71% 0.0083 -0.1307) |
| OKLCH | oklch(33.71% 0.131 273.6) |
| XYZ | xyz(5.0769, 3.5011, 18.4937) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.02
Darkslateblue
#483D8B
ΔE00 7.00
Royal
#0C1793
ΔE00 7.07
Marine
#042E60
ΔE00 7.20
Blueberry
#464196
ΔE00 7.90
Sapphire (survey)
#2138AB
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252B79 #797325
analogous
#255579 #252B79 #492579
triadic
#252B79 #79252B #2B7925
tetradic
#252B79 #792555 #797325 #257949
square
#252B79 #792555 #797325 #257949
split-complementary
#252B79 #794925 #557925
monochromatic
#080A1B #171A4A #252B79 #333CA8 #4F58C9
Accessibility & contrast
On white
12.35
#252B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#252B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252B79
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252B79 | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #252b79; /* rgb */ color: rgb(37, 43, 121); /* oklch */ color: oklch(33.7% 0.131 273.6);
Tailwind
colors: {
custom: {
50: '#6b64a0',
500: '#252b79',
950: '#000000',
},
}SCSS
$custom: #252b79; $custom-light: #6b64a0; $custom-dark: #000000;
JSON
{
"hex": "#252b79",
"rgb": {
"r": 37,
"g": 43,
"b": 121
},
"hsl": {
"h": 235.714,
"s": 53.165,
"l": 30.98
},
"oklch": {
"l": 0.33707,
"c": 0.13098,
"h": 273.6
},
"luminance": 0.03502
}Semantic roles & 50–950 ramp
primary
#252B79
secondary
#ABA54E
accent
#D24BDD
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E