#2C52C3#2C52C3
#2C52C3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.182 H 265.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2C52C3 |
|---|---|
| RGB | rgb(44, 82, 195) |
| HSL | hsl(225, 63%, 47%) |
| HSV | hsv(225, 77%, 76%) |
| CMYK | cmyk(77.4%, 57.9%, 0%, 23.5%) |
| CIE-LAB | lab(38.74, 27.50, -62.86) |
| CIE-LCH | lch(38.74, 68.61, 293.63°) |
| OKLab | oklab(48.21% -0.0138 -0.1815) |
| OKLCH | oklch(48.21% 0.182 265.7) |
| XYZ | xyz(13.9029, 10.5086, 52.9148) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.87
Blue Blue
#2242C7
ΔE00 4.99
Cobalt
#0047AB
ΔE00 5.23
Warm Blue
#4B57DB
ΔE00 5.40
Blue (survey)
#0343DF
ΔE00 5.55
Azul
#1D5DEC
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C52C3 #C39D2C
analogous
#2C9EC3 #2C52C3 #522CC3
triadic
#2C52C3 #C32C52 #52C32C
tetradic
#2C52C3 #C32C9E #C39D2C #2CC352
square
#2C52C3 #C32C9E #C39D2C #2CC352
split-complementary
#2C52C3 #C3522C #9EC32C
monochromatic
#15285F #213D91 #2C52C3 #5475D8 #869DE4
Accessibility & contrast
On white
6.77
#2C52C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2C52C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C52C3
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C52C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C52C3 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2c52c3; /* rgb */ color: rgb(44, 82, 195); /* oklch */ color: oklch(48.2% 0.182 265.7);
Tailwind
colors: {
custom: {
50: '#7c82d6',
500: '#2c52c3',
950: '#000000',
},
}SCSS
$custom: #2c52c3; $custom-light: #7c82d6; $custom-dark: #000000;
JSON
{
"hex": "#2c52c3",
"rgb": {
"r": 44,
"g": 82,
"b": 195
},
"hsl": {
"h": 224.901,
"s": 63.18,
"l": 46.863
},
"oklch": {
"l": 0.48208,
"c": 0.18206,
"h": 265.7
},
"luminance": 0.1051
}Semantic roles & 50–950 ramp
primary
#2C52C3
secondary
#CDB97E
accent
#BD42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83