#252B7F#252B7F
#252B7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.140 H 273.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #252B7F |
|---|---|
| RGB | rgb(37, 43, 127) |
| HSL | hsl(236, 55%, 32%) |
| HSV | hsv(236, 71%, 50%) |
| CMYK | cmyk(70.9%, 66.1%, 0%, 50.2%) |
| CIE-LAB | lab(22.49, 26.98, -48.25) |
| CIE-LCH | lch(22.49, 55.28, 299.21°) |
| OKLab | oklab(34.27% 0.008 -0.1393) |
| OKLCH | oklch(34.27% 0.14 273.3) |
| XYZ | xyz(5.4563, 3.6529, 20.4921) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.08
Royal
#0C1793
ΔE00 6.31
Darkslateblue
#483D8B
ΔE00 6.82
Sapphire (survey)
#2138AB
ΔE00 7.06
Blueberry
#464196
ΔE00 7.53
Marine
#042E60
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252B7F #7F7925
analogous
#25587F #252B7F #4C257F
triadic
#252B7F #7F252B #2B7F25
tetradic
#252B7F #7F2558 #7F7925 #257F4C
square
#252B7F #7F2558 #7F7925 #257F4C
split-complementary
#252B7F #7F4C25 #587F25
monochromatic
#090B20 #171B50 #252B7F #333BAE #525ACD
Accessibility & contrast
On white
12.13
#252B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#252B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252B7F
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252B7F | 1.00 | 12.13 | 1.73 | 12.13 |
| #FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.13 | 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: #252b7f; /* rgb */ color: rgb(37, 43, 127); /* oklch */ color: oklch(34.3% 0.140 273.3);
Tailwind
colors: {
custom: {
50: '#6d64a5',
500: '#252b7f',
950: '#000000',
},
}SCSS
$custom: #252b7f; $custom-light: #6d64a5; $custom-dark: #000000;
JSON
{
"hex": "#252b7f",
"rgb": {
"r": 37,
"g": 43,
"b": 127
},
"hsl": {
"h": 236,
"s": 54.878,
"l": 32.157
},
"oklch": {
"l": 0.34272,
"c": 0.13951,
"h": 273.3
},
"luminance": 0.03653
}Semantic roles & 50–950 ramp
primary
#252B7F
secondary
#B1AA4F
accent
#D44ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F