#2B52B9#2B52B9
#2B52B9 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.169 H 264.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2B52B9 |
|---|---|
| RGB | rgb(43, 82, 185) |
| HSL | hsl(224, 62%, 45%) |
| HSV | hsv(224, 77%, 73%) |
| CMYK | cmyk(76.8%, 55.7%, 0%, 27.5%) |
| CIE-LAB | lab(37.93, 23.61, -58.33) |
| CIE-LCH | lch(37.93, 62.93, 292.03°) |
| OKLab | oklab(47.35% -0.0151 -0.1682) |
| OKLCH | oklch(47.35% 0.169 264.9) |
| XYZ | xyz(12.7674, 10.0495, 47.1564) |
| Luminance | 0.1005 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.98
Cobalt
#0047AB
ΔE00 4.30
Blue Blue
#2242C7
ΔE00 5.55
Denim
#1560BD
ΔE00 5.89
Denim Blue
#3B5B92
ΔE00 5.98
Dusk Blue
#26538D
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B52B9 #B9922B
analogous
#2B99B9 #2B52B9 #4B2BB9
triadic
#2B52B9 #B92B52 #52B92B
tetradic
#2B52B9 #B92B99 #B9922B #2BB94B
square
#2B52B9 #B92B99 #B9922B #2BB94B
split-complementary
#2B52B9 #B94B2B #99B92B
monochromatic
#142656 #1F3C87 #2B52B9 #4C72D5 #7E99E1
Accessibility & contrast
On white
6.98
#2B52B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2B52B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B52B9
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B52B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B52B9 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 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: #2b52b9; /* rgb */ color: rgb(43, 82, 185); /* oklch */ color: oklch(47.3% 0.169 264.9);
Tailwind
colors: {
custom: {
50: '#7a82cf',
500: '#2b52b9',
950: '#000000',
},
}SCSS
$custom: #2b52b9; $custom-light: #7a82cf; $custom-dark: #000000;
JSON
{
"hex": "#2b52b9",
"rgb": {
"r": 43,
"g": 82,
"b": 185
},
"hsl": {
"h": 223.521,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.47348,
"c": 0.16892,
"h": 264.9
},
"luminance": 0.10051
}Semantic roles & 50–950 ramp
primary
#2B52B9
secondary
#C9B376
accent
#B942E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82