#2C52C2#2C52C2
#2C52C2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.181 H 265.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2C52C2 |
|---|---|
| RGB | rgb(44, 82, 194) |
| HSL | hsl(225, 63%, 47%) |
| HSV | hsv(225, 77%, 76%) |
| CMYK | cmyk(77.3%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(38.66, 27.12, -62.41) |
| CIE-LCH | lch(38.66, 68.05, 293.49°) |
| OKLab | oklab(48.13% -0.0138 -0.1802) |
| OKLCH | oklch(48.13% 0.181 265.6) |
| XYZ | xyz(13.7902, 10.4635, 52.3213) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.77
Blue Blue
#2242C7
ΔE00 5.02
Cobalt
#0047AB
ΔE00 5.13
Warm Blue
#4B57DB
ΔE00 5.51
Blue (survey)
#0343DF
ΔE00 5.64
Azul
#1D5DEC
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C52C2 #C29C2C
analogous
#2C9DC2 #2C52C2 #512CC2
triadic
#2C52C2 #C22C52 #52C22C
tetradic
#2C52C2 #C22C9D #C29C2C #2CC251
square
#2C52C2 #C22C9D #C29C2C #2CC251
split-complementary
#2C52C2 #C2512C #9DC22C
monochromatic
#15285E #213D90 #2C52C2 #5375D8 #859DE3
Accessibility & contrast
On white
6.79
#2C52C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#2C52C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C52C2
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C52C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C52C2 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2c52c2; /* rgb */ color: rgb(44, 82, 194); /* oklch */ color: oklch(48.1% 0.181 265.6);
Tailwind
colors: {
custom: {
50: '#7c82d5',
500: '#2c52c2',
950: '#000000',
},
}SCSS
$custom: #2c52c2; $custom-light: #7c82d5; $custom-dark: #000000;
JSON
{
"hex": "#2c52c2",
"rgb": {
"r": 44,
"g": 82,
"b": 194
},
"hsl": {
"h": 224.8,
"s": 63.025,
"l": 46.667
},
"oklch": {
"l": 0.48125,
"c": 0.18073,
"h": 265.6
},
"luminance": 0.10465
}Semantic roles & 50–950 ramp
primary
#2C52C2
secondary
#CDB97D
accent
#BC42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83