#252C7F#252C7F
#252C7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.138 H 273.0°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #252C7F |
|---|---|
| RGB | rgb(37, 44, 127) |
| HSL | hsl(235, 55%, 32%) |
| HSV | hsv(235, 71%, 50%) |
| CMYK | cmyk(70.9%, 65.4%, 0%, 50.2%) |
| CIE-LAB | lab(22.75, 26.31, -47.83) |
| CIE-LCH | lch(22.75, 54.59, 298.81°) |
| OKLab | oklab(34.46% 0.0072 -0.138) |
| OKLCH | oklch(34.46% 0.138 273) |
| XYZ | xyz(5.4931, 3.7265, 20.5044) |
| Luminance | 0.0373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.37
Royal
#0C1793
ΔE00 6.58
Darkslateblue
#483D8B
ΔE00 6.69
Sapphire (survey)
#2138AB
ΔE00 6.96
Blueberry
#464196
ΔE00 7.36
Marine
#042E60
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C7F #7F7825
analogous
#25597F #252C7F #4B257F
triadic
#252C7F #7F252C #2C7F25
tetradic
#252C7F #7F2559 #7F7825 #257F4B
square
#252C7F #7F2559 #7F7825 #257F4B
split-complementary
#252C7F #7F4B25 #597F25
monochromatic
#090B20 #171C50 #252C7F #333CAE #525BCD
Accessibility & contrast
On white
12.03
#252C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#252C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C7F
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C7F | 1.00 | 12.03 | 1.75 | 12.03 |
| #FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #252c7f; /* rgb */ color: rgb(37, 44, 127); /* oklch */ color: oklch(34.5% 0.138 273.0);
Tailwind
colors: {
custom: {
50: '#6c65a5',
500: '#252c7f',
950: '#000000',
},
}SCSS
$custom: #252c7f; $custom-light: #6c65a5; $custom-dark: #000000;
JSON
{
"hex": "#252c7f",
"rgb": {
"r": 37,
"g": 44,
"b": 127
},
"hsl": {
"h": 235.333,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.3446,
"c": 0.13823,
"h": 273
},
"luminance": 0.03727
}Semantic roles & 50–950 ramp
primary
#252C7F
secondary
#B1A94F
accent
#D34ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F