#2C52C1#2C52C1
#2C52C1 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.0% C 0.179 H 265.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2C52C1 |
|---|---|
| RGB | rgb(44, 82, 193) |
| HSL | hsl(225, 63%, 46%) |
| HSV | hsv(225, 77%, 76%) |
| CMYK | cmyk(77.2%, 57.5%, 0%, 24.3%) |
| CIE-LAB | lab(38.58, 26.74, -61.95) |
| CIE-LCH | lch(38.58, 67.48, 293.35°) |
| OKLab | oklab(48.04% -0.0138 -0.1789) |
| OKLCH | oklch(48.04% 0.179 265.6) |
| XYZ | xyz(13.6782, 10.4188, 51.7319) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.67
Cobalt
#0047AB
ΔE00 5.03
Blue Blue
#2242C7
ΔE00 5.06
Warm Blue
#4B57DB
ΔE00 5.63
Blue (survey)
#0343DF
ΔE00 5.74
Denim
#1560BD
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C52C1 #C19B2C
analogous
#2C9DC1 #2C52C1 #512CC1
triadic
#2C52C1 #C12C52 #52C12C
tetradic
#2C52C1 #C12C9D #C19B2C #2CC151
square
#2C52C1 #C12C9D #C19B2C #2CC151
split-complementary
#2C52C1 #C1512C #9DC12C
monochromatic
#15285D #213D8F #2C52C1 #5374D8 #849DE3
Accessibility & contrast
On white
6.81
#2C52C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#2C52C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C52C1
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C52C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C52C1 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2c52c1; /* rgb */ color: rgb(44, 82, 193); /* oklch */ color: oklch(48.0% 0.179 265.6);
Tailwind
colors: {
custom: {
50: '#7c82d5',
500: '#2c52c1',
950: '#000000',
},
}SCSS
$custom: #2c52c1; $custom-light: #7c82d5; $custom-dark: #000000;
JSON
{
"hex": "#2c52c1",
"rgb": {
"r": 44,
"g": 82,
"b": 193
},
"hsl": {
"h": 224.698,
"s": 62.869,
"l": 46.471
},
"oklch": {
"l": 0.48042,
"c": 0.1794,
"h": 265.6
},
"luminance": 0.1042
}Semantic roles & 50–950 ramp
primary
#2C52C1
secondary
#CCB87D
accent
#BC42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83