#252E9F#252E9F
#252E9F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.179 H 270.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #252E9F |
|---|---|
| RGB | rgb(37, 46, 159) |
| HSL | hsl(236, 62%, 38%) |
| HSV | hsv(236, 77%, 62%) |
| CMYK | cmyk(76.7%, 71.1%, 0%, 37.6%) |
| CIE-LAB | lab(26.30, 36.75, -61.83) |
| CIE-LCH | lch(26.30, 71.92, 300.73°) |
| OKLab | oklab(37.98% 0.0028 -0.179) |
| OKLCH | oklch(37.98% 0.179 270.9) |
| XYZ | xyz(7.9958, 4.8496, 33.3088) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.22
Royal
#0C1793
ΔE00 5.67
Indigo Blue
#3A18B1
ΔE00 5.91
Blueberry
#464196
ΔE00 6.64
Cobalt Blue
#030AA7
ΔE00 6.95
Darkslateblue
#483D8B
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252E9F #9F9625
analogous
#256B9F #252E9F #59259F
triadic
#252E9F #9F252E #2E9F25
tetradic
#252E9F #9F256B #9F9625 #259F59
square
#252E9F #9F256B #9F9625 #259F59
split-complementary
#252E9F #9F5925 #6B9F25
monochromatic
#0E113C #19206D #252E9F #323ECF #646CDB
Accessibility & contrast
On white
10.66
#252E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#252E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252E9F
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252E9F | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #252e9f; /* rgb */ color: rgb(37, 46, 159); /* oklch */ color: oklch(38.0% 0.179 270.9);
Tailwind
colors: {
custom: {
50: '#7467bc',
500: '#252e9f',
950: '#000000',
},
}SCSS
$custom: #252e9f; $custom-light: #7467bc; $custom-dark: #000000;
JSON
{
"hex": "#252e9f",
"rgb": {
"r": 37,
"g": 46,
"b": 159
},
"hsl": {
"h": 235.574,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.37982,
"c": 0.17898,
"h": 270.9
},
"luminance": 0.04851
}Semantic roles & 50–950 ramp
primary
#252E9F
secondary
#C0B95F
accent
#D942E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81