#2C52B2#2C52B2
#2C52B2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.8% C 0.159 H 264.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2C52B2 |
|---|---|
| RGB | rgb(44, 82, 178) |
| HSL | hsl(223, 60%, 44%) |
| HSV | hsv(223, 75%, 70%) |
| CMYK | cmyk(75.3%, 53.9%, 0%, 30.2%) |
| CIE-LAB | lab(37.45, 21.06, -54.99) |
| CIE-LCH | lch(37.45, 58.89, 290.96°) |
| OKLab | oklab(46.83% -0.0148 -0.1584) |
| OKLCH | oklch(46.83% 0.159 264.7) |
| XYZ | xyz(12.0890, 9.7831, 43.3620) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.97
Cobalt
#0047AB
ΔE00 3.95
Denim Blue
#3B5B92
ΔE00 5.28
Dusk Blue
#26538D
ΔE00 5.48
Cobalt (survey)
#1E488F
ΔE00 5.66
Denim
#1560BD
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C52B2 #B28C2C
analogous
#2C95B2 #2C52B2 #492CB2
triadic
#2C52B2 #B22C52 #52B22C
tetradic
#2C52B2 #B22C95 #B28C2C #2CB249
square
#2C52B2 #B22C95 #B28C2C #2CB249
split-complementary
#2C52B2 #B2492C #95B22C
monochromatic
#142550 #203B81 #2C52B2 #4970D2 #7A97DE
Accessibility & contrast
On white
7.10
#2C52B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2C52B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C52B2
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C52B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C52B2 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#055FB5
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2c52b2; /* rgb */ color: rgb(44, 82, 178); /* oklch */ color: oklch(46.8% 0.159 264.7);
Tailwind
colors: {
custom: {
50: '#7882ca',
500: '#2c52b2',
950: '#000000',
},
}SCSS
$custom: #2c52b2; $custom-light: #7882ca; $custom-dark: #000000;
JSON
{
"hex": "#2c52b2",
"rgb": {
"r": 44,
"g": 82,
"b": 178
},
"hsl": {
"h": 222.985,
"s": 60.36,
"l": 43.529
},
"oklch": {
"l": 0.46831,
"c": 0.15909,
"h": 264.7
},
"luminance": 0.09784
}Semantic roles & 50–950 ramp
primary
#2C52B2
secondary
#C6AF73
accent
#B644E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82