#2C52A4#2C52A4
#2C52A4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.140 H 263.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2C52A4 |
|---|---|
| RGB | rgb(44, 82, 164) |
| HSL | hsl(221, 58%, 41%) |
| HSV | hsv(221, 73%, 64%) |
| CMYK | cmyk(73.2%, 50%, 0%, 35.7%) |
| CIE-LAB | lab(36.46, 15.72, -48.27) |
| CIE-LCH | lch(36.46, 50.77, 288.03°) |
| OKLab | oklab(45.76% -0.0164 -0.1386) |
| OKLCH | oklch(45.76% 0.14 263.3) |
| XYZ | xyz(10.7545, 9.2492, 36.3333) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.94
Dusk Blue
#26538D
ΔE00 3.71
Cobalt
#0047AB
ΔE00 3.88
Denim Blue
#3B5B92
ΔE00 3.99
Cobalt (survey)
#1E488F
ΔE00 4.16
Light Navy Blue
#2E5A88
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C52A4 #A47E2C
analogous
#2C8EA4 #2C52A4 #422CA4
triadic
#2C52A4 #A42C52 #52A42C
tetradic
#2C52A4 #A42C8E #A47E2C #2CA442
square
#2C52A4 #A42C8E #A47E2C #2CA442
split-complementary
#2C52A4 #A4422C #8EA42C
monochromatic
#122243 #1F3A74 #2C52A4 #416DCC #7192D9
Accessibility & contrast
On white
7.37
#2C52A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2C52A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C52A4
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C52A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C52A4 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235CA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#006573
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2c52a4; /* rgb */ color: rgb(44, 82, 164); /* oklch */ color: oklch(45.8% 0.140 263.3);
Tailwind
colors: {
custom: {
50: '#7582bf',
500: '#2c52a4',
950: '#000000',
},
}SCSS
$custom: #2c52a4; $custom-light: #7582bf; $custom-dark: #000000;
JSON
{
"hex": "#2c52a4",
"rgb": {
"r": 44,
"g": 82,
"b": 164
},
"hsl": {
"h": 221,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.45763,
"c": 0.1396,
"h": 263.3
},
"luminance": 0.0925
}Semantic roles & 50–950 ramp
primary
#2C52A4
secondary
#C0A56B
accent
#B047E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81