#252C9B#252C9B
#252C9B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.176 H 271.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #252C9B |
|---|---|
| RGB | rgb(37, 44, 155) |
| HSL | hsl(236, 61%, 38%) |
| HSV | hsv(236, 76%, 61%) |
| CMYK | cmyk(76.1%, 71.6%, 0%, 39.2%) |
| CIE-LAB | lab(25.44, 36.56, -60.80) |
| CIE-LCH | lch(25.44, 70.95, 301.02°) |
| OKLab | oklab(37.24% 0.0044 -0.176) |
| OKLCH | oklch(37.24% 0.176 271.4) |
| XYZ | xyz(7.5780, 4.5604, 31.4849) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.93
Royal
#0C1793
ΔE00 5.08
Indigo Blue
#3A18B1
ΔE00 5.84
Cobalt Blue
#030AA7
ΔE00 6.59
Blueberry
#464196
ΔE00 6.93
Royal Blue (survey)
#0504AA
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252C9B #9B9425
analogous
#25679B #252C9B #59259B
triadic
#252C9B #9B252C #2C9B25
tetradic
#252C9B #9B2567 #9B9425 #259B59
square
#252C9B #9B2567 #9B9425 #259B59
split-complementary
#252C9B #9B5925 #679B25
monochromatic
#0D1038 #191E6A #252C9B #313ACC #6168D9
Accessibility & contrast
On white
10.98
#252C9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#252C9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252C9B
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252C9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252C9B | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #252c9b; /* rgb */ color: rgb(37, 44, 155); /* oklch */ color: oklch(37.2% 0.176 271.4);
Tailwind
colors: {
custom: {
50: '#7366ba',
500: '#252c9b',
950: '#000000',
},
}SCSS
$custom: #252c9b; $custom-light: #7366ba; $custom-dark: #000000;
JSON
{
"hex": "#252c9b",
"rgb": {
"r": 37,
"g": 44,
"b": 155
},
"hsl": {
"h": 236.441,
"s": 61.458,
"l": 37.647
},
"oklch": {
"l": 0.37242,
"c": 0.17601,
"h": 271.4
},
"luminance": 0.04561
}Semantic roles & 50–950 ramp
primary
#252C9B
secondary
#BFB95D
accent
#DB43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81