#252E9E#252E9E
#252E9E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.178 H 271.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #252E9E |
|---|---|
| RGB | rgb(37, 46, 158) |
| HSL | hsl(236, 62%, 38%) |
| HSV | hsv(236, 77%, 62%) |
| CMYK | cmyk(76.6%, 70.9%, 0%, 38%) |
| CIE-LAB | lab(26.20, 36.39, -61.38) |
| CIE-LCH | lch(26.20, 71.36, 300.66°) |
| OKLab | oklab(37.88% 0.003 -0.1777) |
| OKLCH | oklch(37.88% 0.178 271) |
| XYZ | xyz(7.9094, 4.8151, 32.8537) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.28
Royal
#0C1793
ΔE00 5.65
Indigo Blue
#3A18B1
ΔE00 6.00
Blueberry
#464196
ΔE00 6.61
Cobalt Blue
#030AA7
ΔE00 6.98
Darkslateblue
#483D8B
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252E9E #9E9525
analogous
#256A9E #252E9E #58259E
triadic
#252E9E #9E252E #2E9E25
tetradic
#252E9E #9E256A #9E9525 #259E58
square
#252E9E #9E256A #9E9525 #259E58
split-complementary
#252E9E #9E5825 #6A9E25
monochromatic
#0E113B #19206C #252E9E #313DCF #636CDA
Accessibility & contrast
On white
10.70
#252E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#252E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252E9E
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252E9E | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #252e9e; /* rgb */ color: rgb(37, 46, 158); /* oklch */ color: oklch(37.9% 0.178 271.0);
Tailwind
colors: {
custom: {
50: '#7467bc',
500: '#252e9e',
950: '#000000',
},
}SCSS
$custom: #252e9e; $custom-light: #7467bc; $custom-dark: #000000;
JSON
{
"hex": "#252e9e",
"rgb": {
"r": 37,
"g": 46,
"b": 158
},
"hsl": {
"h": 235.537,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.37879,
"c": 0.17768,
"h": 271
},
"luminance": 0.04816
}Semantic roles & 50–950 ramp
primary
#252E9E
secondary
#C0B95F
accent
#D943E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81