#2C52B6#2C52B6
#2C52B6 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.165 H 264.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2C52B6 |
|---|---|
| RGB | rgb(44, 82, 182) |
| HSL | hsl(223, 61%, 44%) |
| HSV | hsv(223, 76%, 71%) |
| CMYK | cmyk(75.8%, 54.9%, 0%, 28.6%) |
| CIE-LAB | lab(37.75, 22.58, -56.87) |
| CIE-LCH | lch(37.75, 61.19, 291.66°) |
| OKLab | oklab(47.15% -0.0145 -0.1639) |
| OKLCH | oklch(47.15% 0.165 264.9) |
| XYZ | xyz(12.4965, 9.9461, 45.5081) |
| Luminance | 0.0995 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.98
Cobalt
#0047AB
ΔE00 4.16
Denim Blue
#3B5B92
ΔE00 5.69
Blue Blue
#2242C7
ΔE00 5.74
Denim
#1560BD
ΔE00 5.89
Dusk Blue
#26538D
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C52B6 #B6902C
analogous
#2C97B6 #2C52B6 #4B2CB6
triadic
#2C52B6 #B62C52 #52B62C
tetradic
#2C52B6 #B62C97 #B6902C #2CB64B
square
#2C52B6 #B62C97 #B6902C #2CB64B
split-complementary
#2C52B6 #B64B2C #97B62C
monochromatic
#142653 #203C85 #2C52B6 #4C71D4 #7D98E0
Accessibility & contrast
On white
7.02
#2C52B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2C52B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C52B6
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C52B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C52B6 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 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: #2c52b6; /* rgb */ color: rgb(44, 82, 182); /* oklch */ color: oklch(47.1% 0.165 264.9);
Tailwind
colors: {
custom: {
50: '#7982cd',
500: '#2c52b6',
950: '#000000',
},
}SCSS
$custom: #2c52b6; $custom-light: #7982cd; $custom-dark: #000000;
JSON
{
"hex": "#2c52b6",
"rgb": {
"r": 44,
"g": 82,
"b": 182
},
"hsl": {
"h": 223.478,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.47148,
"c": 0.16457,
"h": 264.9
},
"luminance": 0.09947
}Semantic roles & 50–950 ramp
primary
#2C52B6
secondary
#C8B176
accent
#B844E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82