#2C52C0#2C52C0
#2C52C0 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.0% C 0.178 H 265.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2C52C0 |
|---|---|
| RGB | rgb(44, 82, 192) |
| HSL | hsl(225, 63%, 46%) |
| HSV | hsv(225, 77%, 75%) |
| CMYK | cmyk(77.1%, 57.3%, 0%, 24.7%) |
| CIE-LAB | lab(38.51, 26.37, -61.49) |
| CIE-LCH | lch(38.51, 66.91, 293.21°) |
| OKLab | oklab(47.96% -0.0139 -0.1775) |
| OKLCH | oklch(47.96% 0.178 265.5) |
| XYZ | xyz(13.5671, 10.3743, 51.1464) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.58
Cobalt
#0047AB
ΔE00 4.94
Blue Blue
#2242C7
ΔE00 5.11
Warm Blue
#4B57DB
ΔE00 5.74
Blue (survey)
#0343DF
ΔE00 5.83
Denim
#1560BD
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C52C0 #C09A2C
analogous
#2C9CC0 #2C52C0 #502CC0
triadic
#2C52C0 #C02C52 #52C02C
tetradic
#2C52C0 #C02C9C #C09A2C #2CC050
square
#2C52C0 #C02C9C #C09A2C #2CC050
split-complementary
#2C52C0 #C0502C #9CC02C
monochromatic
#15275C #213D8E #2C52C0 #5274D7 #849CE3
Accessibility & contrast
On white
6.83
#2C52C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#2C52C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C52C0
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C52C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C52C0 | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2c52c0; /* rgb */ color: rgb(44, 82, 192); /* oklch */ color: oklch(48.0% 0.178 265.5);
Tailwind
colors: {
custom: {
50: '#7c82d4',
500: '#2c52c0',
950: '#000000',
},
}SCSS
$custom: #2c52c0; $custom-light: #7c82d4; $custom-dark: #000000;
JSON
{
"hex": "#2c52c0",
"rgb": {
"r": 44,
"g": 82,
"b": 192
},
"hsl": {
"h": 224.595,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.47959,
"c": 0.17806,
"h": 265.5
},
"luminance": 0.10376
}Semantic roles & 50–950 ramp
primary
#2C52C0
secondary
#CCB77C
accent
#BC42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83