#252C7B#252C7B
#252C7B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.133 H 273.2°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #252C7B |
|---|---|
| RGB | rgb(37, 44, 123) |
| HSL | hsl(235, 54%, 31%) |
| HSV | hsv(235, 70%, 48%) |
| CMYK | cmyk(69.9%, 64.2%, 0%, 51.8%) |
| CIE-LAB | lab(22.39, 24.80, -45.89) |
| CIE-LCH | lch(22.39, 52.16, 298.39°) |
| OKLab | oklab(34.09% 0.0074 -0.1323) |
| OKLCH | oklch(34.09% 0.133 273.2) |
| XYZ | xyz(5.2376, 3.6243, 19.1586) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.32
Darkslateblue
#483D8B
ΔE00 6.81
Royal
#0C1793
ΔE00 7.07
Marine
#042E60
ΔE00 7.20
Sapphire (survey)
#2138AB
ΔE00 7.53
Blueberry
#464196
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C7B #7B7425
analogous
#25577B #252C7B #49257B
triadic
#252C7B #7B252C #2C7B25
tetradic
#252C7B #7B2557 #7B7425 #257B49
square
#252C7B #7B2557 #7B7425 #257B49
split-complementary
#252C7B #7B4925 #577B25
monochromatic
#090A1D #171B4C #252C7B #333DAA #505ACA
Accessibility & contrast
On white
12.17
#252C7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#252C7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C7B
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C7B | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #252c7b; /* rgb */ color: rgb(37, 44, 123); /* oklch */ color: oklch(34.1% 0.133 273.2);
Tailwind
colors: {
custom: {
50: '#6c65a2',
500: '#252c7b',
950: '#000000',
},
}SCSS
$custom: #252c7b; $custom-light: #6c65a2; $custom-dark: #000000;
JSON
{
"hex": "#252c7b",
"rgb": {
"r": 37,
"g": 44,
"b": 123
},
"hsl": {
"h": 235.116,
"s": 53.75,
"l": 31.373
},
"oklch": {
"l": 0.34086,
"c": 0.13254,
"h": 273.2
},
"luminance": 0.03625
}Semantic roles & 50–950 ramp
primary
#252C7B
secondary
#ADA64F
accent
#D14BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F