#2B52B6#2B52B6
#2B52B6 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.165 H 264.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2B52B6 |
|---|---|
| RGB | rgb(43, 82, 182) |
| HSL | hsl(223, 62%, 44%) |
| HSV | hsv(223, 76%, 71%) |
| CMYK | cmyk(76.4%, 54.9%, 0%, 28.6%) |
| CIE-LAB | lab(37.71, 22.47, -56.94) |
| CIE-LCH | lch(37.71, 61.21, 291.53°) |
| OKLab | oklab(47.11% -0.0153 -0.1641) |
| OKLCH | oklch(47.11% 0.165 264.7) |
| XYZ | xyz(12.4541, 9.9242, 45.5061) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.87
Cobalt
#0047AB
ΔE00 4.11
Denim Blue
#3B5B92
ΔE00 5.67
Blue Blue
#2242C7
ΔE00 5.78
Denim
#1560BD
ΔE00 5.82
Dusk Blue
#26538D
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B52B6 #B68F2B
analogous
#2B98B6 #2B52B6 #492BB6
triadic
#2B52B6 #B62B52 #52B62B
tetradic
#2B52B6 #B62B98 #B68F2B #2BB649
square
#2B52B6 #B62B98 #B68F2B #2BB649
split-complementary
#2B52B6 #B6492B #98B62B
monochromatic
#142553 #1F3C84 #2B52B6 #4A71D4 #7B98E0
Accessibility & contrast
On white
7.03
#2B52B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2B52B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B52B6
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B52B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B52B6 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2b52b6; /* rgb */ color: rgb(43, 82, 182); /* oklch */ color: oklch(47.1% 0.165 264.7);
Tailwind
colors: {
custom: {
50: '#7982cd',
500: '#2b52b6',
950: '#000000',
},
}SCSS
$custom: #2b52b6; $custom-light: #7982cd; $custom-dark: #000000;
JSON
{
"hex": "#2b52b6",
"rgb": {
"r": 43,
"g": 82,
"b": 182
},
"hsl": {
"h": 223.165,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.47107,
"c": 0.16485,
"h": 264.7
},
"luminance": 0.09926
}Semantic roles & 50–950 ramp
primary
#2B52B6
secondary
#C8B175
accent
#B743E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82