#252A7C#252A7C
#252A7C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.137 H 273.8°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #252A7C |
|---|---|
| RGB | rgb(37, 42, 124) |
| HSL | hsl(237, 54%, 32%) |
| HSV | hsv(237, 70%, 49%) |
| CMYK | cmyk(70.2%, 66.1%, 0%, 51.4%) |
| CIE-LAB | lab(21.96, 26.53, -47.22) |
| CIE-LCH | lch(21.96, 54.17, 299.33°) |
| OKLab | oklab(33.8% 0.009 -0.1363) |
| OKLCH | oklch(33.8% 0.137 273.8) |
| XYZ | xyz(5.2278, 3.5040, 19.4657) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.73
Royal
#0C1793
ΔE00 6.41
Darkslateblue
#483D8B
ΔE00 7.03
Sapphire (survey)
#2138AB
ΔE00 7.58
Marine
#042E60
ΔE00 7.73
Blueberry
#464196
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252A7C #7C7725
analogous
#25567C #252A7C #4C257C
triadic
#252A7C #7C252A #2A7C25
tetradic
#252A7C #7C2556 #7C7725 #257C4C
square
#252A7C #7C2556 #7C7725 #257C4C
split-complementary
#252A7C #7C4C25 #567C25
monochromatic
#090A1E #171A4D #252A7C #333AAB #5058CB
Accessibility & contrast
On white
12.35
#252A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#252A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252A7C
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252A7C | 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)
#00397F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #252a7c; /* rgb */ color: rgb(37, 42, 124); /* oklch */ color: oklch(33.8% 0.137 273.8);
Tailwind
colors: {
custom: {
50: '#6c63a3',
500: '#252a7c',
950: '#000000',
},
}SCSS
$custom: #252a7c; $custom-light: #6c63a3; $custom-dark: #000000;
JSON
{
"hex": "#252a7c",
"rgb": {
"r": 37,
"g": 42,
"b": 124
},
"hsl": {
"h": 236.552,
"s": 54.037,
"l": 31.569
},
"oklch": {
"l": 0.33799,
"c": 0.13656,
"h": 273.8
},
"luminance": 0.03504
}Semantic roles & 50–950 ramp
primary
#252A7C
secondary
#AEA94F
accent
#D54ADD
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F