#252D99#252D99
#252D99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.172 H 271.4°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #252D99 |
|---|---|
| RGB | rgb(37, 45, 153) |
| HSL | hsl(236, 61%, 37%) |
| HSV | hsv(236, 76%, 60%) |
| CMYK | cmyk(75.8%, 70.6%, 0%, 40%) |
| CIE-LAB | lab(25.47, 35.22, -59.53) |
| CIE-LCH | lch(25.47, 69.17, 300.61°) |
| OKLab | oklab(37.2% 0.0041 -0.1723) |
| OKLCH | oklch(37.2% 0.172 271.4) |
| XYZ | xyz(7.4492, 4.5692, 30.6202) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.85
Royal
#0C1793
ΔE00 5.32
Indigo Blue
#3A18B1
ΔE00 6.26
Blueberry
#464196
ΔE00 6.70
Cobalt Blue
#030AA7
ΔE00 6.96
Darkslateblue
#483D8B
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252D99 #999125
analogous
#256799 #252D99 #572599
triadic
#252D99 #99252D #2D9925
tetradic
#252D99 #992567 #999125 #259957
square
#252D99 #992567 #999125 #259957
split-complementary
#252D99 #995725 #679925
monochromatic
#0D1036 #191F68 #252D99 #313BCA #6068D9
Accessibility & contrast
On white
10.97
#252D99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#252D99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252D99
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252D99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252D99 | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #252d99; /* rgb */ color: rgb(37, 45, 153); /* oklch */ color: oklch(37.2% 0.172 271.4);
Tailwind
colors: {
custom: {
50: '#7366b8',
500: '#252d99',
950: '#000000',
},
}SCSS
$custom: #252d99; $custom-light: #7366b8; $custom-dark: #000000;
JSON
{
"hex": "#252d99",
"rgb": {
"r": 37,
"g": 45,
"b": 153
},
"hsl": {
"h": 235.862,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.37201,
"c": 0.17231,
"h": 271.4
},
"luminance": 0.0457
}Semantic roles & 50–950 ramp
primary
#252D99
secondary
#BEB75C
accent
#D944E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80