#2A52B9#2A52B9
#2A52B9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.169 H 264.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2A52B9 |
|---|---|
| RGB | rgb(42, 82, 185) |
| HSL | hsl(223, 63%, 45%) |
| HSV | hsv(223, 77%, 73%) |
| CMYK | cmyk(77.3%, 55.7%, 0%, 27.5%) |
| CIE-LAB | lab(37.89, 23.50, -58.40) |
| CIE-LCH | lch(37.89, 62.95, 291.92°) |
| OKLab | oklab(47.31% -0.0158 -0.1684) |
| OKLCH | oklch(47.31% 0.169 264.6) |
| XYZ | xyz(12.7260, 10.0282, 47.1545) |
| Luminance | 0.1003 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.88
Cobalt
#0047AB
ΔE00 4.26
Blue Blue
#2242C7
ΔE00 5.59
Denim
#1560BD
ΔE00 5.82
Denim Blue
#3B5B92
ΔE00 5.96
Dusk Blue
#26538D
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A52B9 #B9912A
analogous
#2A9AB9 #2A52B9 #4A2AB9
triadic
#2A52B9 #B92A52 #52B92A
tetradic
#2A52B9 #B92A9A #B9912A #2AB94A
square
#2A52B9 #B92A9A #B9912A #2AB94A
split-complementary
#2A52B9 #B94A2A #9AB92A
monochromatic
#132655 #1F3C87 #2A52B9 #4A71D6 #7C98E1
Accessibility & contrast
On white
6.99
#2A52B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2A52B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A52B9
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A52B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A52B9 | 1.00 | 6.99 | 3.01 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2a52b9; /* rgb */ color: rgb(42, 82, 185); /* oklch */ color: oklch(47.3% 0.169 264.6);
Tailwind
colors: {
custom: {
50: '#7982cf',
500: '#2a52b9',
950: '#000000',
},
}SCSS
$custom: #2a52b9; $custom-light: #7982cf; $custom-dark: #000000;
JSON
{
"hex": "#2a52b9",
"rgb": {
"r": 42,
"g": 82,
"b": 185
},
"hsl": {
"h": 223.217,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.47308,
"c": 0.16919,
"h": 264.6
},
"luminance": 0.1003
}Semantic roles & 50–950 ramp
primary
#2A52B9
secondary
#CAB275
accent
#B842E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82