#252F7E#252F7E
#252F7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.133 H 272.0°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #252F7E |
|---|---|
| RGB | rgb(37, 47, 126) |
| HSL | hsl(233, 55%, 32%) |
| HSV | hsv(233, 71%, 49%) |
| CMYK | cmyk(70.6%, 62.7%, 0%, 50.6%) |
| CIE-LAB | lab(23.45, 23.88, -46.06) |
| CIE-LCH | lch(23.45, 51.88, 297.41°) |
| OKLab | oklab(34.95% 0.0047 -0.1328) |
| OKLCH | oklch(34.95% 0.133 272) |
| XYZ | xyz(5.5441, 3.9322, 20.2014) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.26
Darkslateblue
#483D8B
ΔE00 6.40
Sapphire (survey)
#2138AB
ΔE00 6.86
Marine
#042E60
ΔE00 6.97
Blueberry
#464196
ΔE00 6.98
Royal
#0C1793
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F7E #7E7425
analogous
#255C7E #252F7E #47257E
triadic
#252F7E #7E252F #2F7E25
tetradic
#252F7E #7E255C #7E7425 #257E47
square
#252F7E #7E255C #7E7425 #257E47
split-complementary
#252F7E #7E4725 #5C7E25
monochromatic
#090C1F #171D4F #252F7E #3341AD #515FCC
Accessibility & contrast
On white
11.75
#252F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#252F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F7E
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F7E | 1.00 | 11.75 | 1.79 | 11.75 |
| #FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #252f7e; /* rgb */ color: rgb(37, 47, 126); /* oklch */ color: oklch(34.9% 0.133 272.0);
Tailwind
colors: {
custom: {
50: '#6c67a4',
500: '#252f7e',
950: '#000000',
},
}SCSS
$custom: #252f7e; $custom-light: #6c67a4; $custom-dark: #000000;
JSON
{
"hex": "#252f7e",
"rgb": {
"r": 37,
"g": 47,
"b": 126
},
"hsl": {
"h": 233.258,
"s": 54.601,
"l": 31.961
},
"oklch": {
"l": 0.34948,
"c": 0.13289,
"h": 272
},
"luminance": 0.03933
}Semantic roles & 50–950 ramp
primary
#252F7E
secondary
#B0A54F
accent
#CD4ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F