#252C9F#252C9F
#252C9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.181 H 271.2°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #252C9F |
|---|---|
| RGB | rgb(37, 44, 159) |
| HSL | hsl(237, 62%, 38%) |
| HSV | hsv(237, 77%, 62%) |
| CMYK | cmyk(76.7%, 72.3%, 0%, 37.6%) |
| CIE-LAB | lab(25.85, 37.98, -62.57) |
| CIE-LCH | lch(25.85, 73.19, 301.26°) |
| OKLab | oklab(37.66% 0.0039 -0.1811) |
| OKLCH | oklch(37.66% 0.181 271.2) |
| XYZ | xyz(7.9195, 4.6970, 33.2834) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.70
Royal
#0C1793
ΔE00 5.18
Indigo Blue
#3A18B1
ΔE00 5.46
Cobalt Blue
#030AA7
ΔE00 6.42
Royal Blue (survey)
#0504AA
ΔE00 6.93
Blueberry
#464196
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C9F #9F9825
analogous
#25699F #252C9F #5B259F
triadic
#252C9F #9F252C #2C9F25
tetradic
#252C9F #9F2569 #9F9825 #259F5B
square
#252C9F #9F2569 #9F9825 #259F5B
split-complementary
#252C9F #9F5B25 #699F25
monochromatic
#0E113C #191E6D #252C9F #323BCF #646ADB
Accessibility & contrast
On white
10.83
#252C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#252C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C9F
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C9F | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #252c9f; /* rgb */ color: rgb(37, 44, 159); /* oklch */ color: oklch(37.7% 0.181 271.2);
Tailwind
colors: {
custom: {
50: '#7466bd',
500: '#252c9f',
950: '#000000',
},
}SCSS
$custom: #252c9f; $custom-light: #7466bd; $custom-dark: #000000;
JSON
{
"hex": "#252c9f",
"rgb": {
"r": 37,
"g": 44,
"b": 159
},
"hsl": {
"h": 236.557,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.3766,
"c": 0.18115,
"h": 271.2
},
"luminance": 0.04698
}Semantic roles & 50–950 ramp
primary
#252C9F
secondary
#C0BB5F
accent
#DC42E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81