#252CB2#252CB2
#252CB2 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.205 H 270.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #252CB2 |
|---|---|
| RGB | rgb(37, 44, 178) |
| HSL | hsl(237, 66%, 42%) |
| HSV | hsv(237, 79%, 70%) |
| CMYK | cmyk(79.2%, 75.3%, 0%, 30.2%) |
| CIE-LAB | lab(27.87, 44.55, -70.70) |
| CIE-LCH | lch(27.87, 83.56, 302.22°) |
| OKLab | oklab(39.69% 0.001 -0.2048) |
| OKLCH | oklch(39.69% 0.205 270.3) |
| XYZ | xyz(9.6968, 5.4079, 42.6436) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.63
Indigo Blue
#3A18B1
ΔE00 4.42
True Blue
#010FCC
ΔE00 5.24
Mediumblue
#0000CD
ΔE00 6.21
Ultramarine Blue
#1805DB
ΔE00 6.41
Cobalt Blue
#030AA7
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252CB2 #B2AB25
analogous
#2573B2 #252CB2 #6425B2
triadic
#252CB2 #B2252C #2CB225
tetradic
#252CB2 #B22573 #B2AB25 #25B264
square
#252CB2 #B22573 #B2AB25 #25B264
split-complementary
#252CB2 #B26425 #73B225
monochromatic
#10134D #1A1F7F #252CB2 #3D45D7 #7076E1
Accessibility & contrast
On white
10.09
#252CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#252CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252CB2
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252CB2 | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003BB0
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #252cb2; /* rgb */ color: rgb(37, 44, 178); /* oklch */ color: oklch(39.7% 0.205 270.3);
Tailwind
colors: {
custom: {
50: '#7967ca',
500: '#252cb2',
950: '#000000',
},
}SCSS
$custom: #252cb2; $custom-light: #7967ca; $custom-dark: #000000;
JSON
{
"hex": "#252cb2",
"rgb": {
"r": 37,
"g": 44,
"b": 178
},
"hsl": {
"h": 237.021,
"s": 65.581,
"l": 42.157
},
"oklch": {
"l": 0.39694,
"c": 0.20476,
"h": 270.3
},
"luminance": 0.05409
}Semantic roles & 50–950 ramp
primary
#252CB2
secondary
#C8C36B
accent
#E03FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82