#252C7C#252C7C
#252C7C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.134 H 273.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #252C7C |
|---|---|
| RGB | rgb(37, 44, 124) |
| HSL | hsl(235, 54%, 32%) |
| HSV | hsv(235, 70%, 49%) |
| CMYK | cmyk(70.2%, 64.5%, 0%, 51.4%) |
| CIE-LAB | lab(22.48, 25.18, -46.38) |
| CIE-LCH | lch(22.48, 52.77, 298.50°) |
| OKLab | oklab(34.18% 0.0073 -0.1338) |
| OKLCH | oklch(34.18% 0.134 273.1) |
| XYZ | xyz(5.3005, 3.6494, 19.4899) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.32
Darkslateblue
#483D8B
ΔE00 6.77
Royal
#0C1793
ΔE00 6.94
Marine
#042E60
ΔE00 7.31
Sapphire (survey)
#2138AB
ΔE00 7.38
Blueberry
#464196
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C7C #7C7525
analogous
#25587C #252C7C #4A257C
triadic
#252C7C #7C252C #2C7C25
tetradic
#252C7C #7C2558 #7C7525 #257C4A
square
#252C7C #7C2558 #7C7525 #257C4A
split-complementary
#252C7C #7C4A25 #587C25
monochromatic
#090B1E #171B4D #252C7C #333DAB #505ACB
Accessibility & contrast
On white
12.14
#252C7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#252C7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C7C
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C7C | 1.00 | 12.14 | 1.73 | 12.14 |
| #FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #252c7c; /* rgb */ color: rgb(37, 44, 124); /* oklch */ color: oklch(34.2% 0.134 273.1);
Tailwind
colors: {
custom: {
50: '#6c65a3',
500: '#252c7c',
950: '#000000',
},
}SCSS
$custom: #252c7c; $custom-light: #6c65a3; $custom-dark: #000000;
JSON
{
"hex": "#252c7c",
"rgb": {
"r": 37,
"g": 44,
"b": 124
},
"hsl": {
"h": 235.172,
"s": 54.037,
"l": 31.569
},
"oklch": {
"l": 0.34179,
"c": 0.13396,
"h": 273.1
},
"luminance": 0.0365
}Semantic roles & 50–950 ramp
primary
#252C7C
secondary
#AEA74F
accent
#D24ADD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F