#252C9E#252C9E
#252C9E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.180 H 271.3°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #252C9E |
|---|---|
| RGB | rgb(37, 44, 158) |
| HSL | hsl(237, 62%, 38%) |
| HSV | hsv(237, 77%, 62%) |
| CMYK | cmyk(76.6%, 72.2%, 0%, 38%) |
| CIE-LAB | lab(25.75, 37.63, -62.13) |
| CIE-LCH | lch(25.75, 72.63, 301.20°) |
| OKLab | oklab(37.56% 0.004 -0.1798) |
| OKLCH | oklch(37.56% 0.18 271.3) |
| XYZ | xyz(7.8331, 4.6625, 32.8282) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.75
Royal
#0C1793
ΔE00 5.15
Indigo Blue
#3A18B1
ΔE00 5.55
Cobalt Blue
#030AA7
ΔE00 6.45
Royal Blue (survey)
#0504AA
ΔE00 6.98
Blueberry
#464196
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C9E #9E9725
analogous
#25689E #252C9E #5A259E
triadic
#252C9E #9E252C #2C9E25
tetradic
#252C9E #9E2568 #9E9725 #259E5A
square
#252C9E #9E2568 #9E9725 #259E5A
split-complementary
#252C9E #9E5A25 #689E25
monochromatic
#0E103B #191E6C #252C9E #313ACF #636ADA
Accessibility & contrast
On white
10.87
#252C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#252C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C9E
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C9E | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #252c9e; /* rgb */ color: rgb(37, 44, 158); /* oklch */ color: oklch(37.6% 0.180 271.3);
Tailwind
colors: {
custom: {
50: '#7466bc',
500: '#252c9e',
950: '#000000',
},
}SCSS
$custom: #252c9e; $custom-light: #7466bc; $custom-dark: #000000;
JSON
{
"hex": "#252c9e",
"rgb": {
"r": 37,
"g": 44,
"b": 158
},
"hsl": {
"h": 236.529,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.37555,
"c": 0.17987,
"h": 271.3
},
"luminance": 0.04663
}Semantic roles & 50–950 ramp
primary
#252C9E
secondary
#C0BA5F
accent
#DC43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81