#252D8F#252D8F
#252D8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.159 H 271.9°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #252D8F |
|---|---|
| RGB | rgb(37, 45, 143) |
| HSL | hsl(235, 59%, 35%) |
| HSV | hsv(235, 74%, 56%) |
| CMYK | cmyk(74.1%, 68.5%, 0%, 43.9%) |
| CIE-LAB | lab(24.49, 31.58, -54.98) |
| CIE-LCH | lch(24.49, 63.41, 299.87°) |
| OKLab | oklab(36.19% 0.0052 -0.159) |
| OKLCH | oklch(36.19% 0.159 271.9) |
| XYZ | xyz(6.6576, 4.2526, 26.4512) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.81
Royal
#0C1793
ΔE00 5.53
Midnight Blue
#191970
ΔE00 6.56
Darkslateblue
#483D8B
ΔE00 6.60
Blueberry
#464196
ΔE00 6.66
Indigo Blue
#3A18B1
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252D8F #8F8725
analogous
#25628F #252D8F #52258F
triadic
#252D8F #8F252D #2D8F25
tetradic
#252D8F #8F2562 #8F8725 #258F52
square
#252D8F #8F2562 #8F8725 #258F52
split-complementary
#252D8F #8F5225 #628F25
monochromatic
#0C0E2E #181E5E #252D8F #323CC0 #5A63D4
Accessibility & contrast
On white
11.35
#252D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#252D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252D8F
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252D8F | 1.00 | 11.35 | 1.85 | 11.35 |
| #FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #252d8f; /* rgb */ color: rgb(37, 45, 143); /* oklch */ color: oklch(36.2% 0.159 271.9);
Tailwind
colors: {
custom: {
50: '#7066b1',
500: '#252d8f',
950: '#000000',
},
}SCSS
$custom: #252d8f; $custom-light: #7066b1; $custom-dark: #000000;
JSON
{
"hex": "#252d8f",
"rgb": {
"r": 37,
"g": 45,
"b": 143
},
"hsl": {
"h": 235.472,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.36192,
"c": 0.15907,
"h": 271.9
},
"luminance": 0.04253
}Semantic roles & 50–950 ramp
primary
#252D8F
secondary
#B9B257
accent
#D646E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80