#2C52A3#2C52A3
#2C52A3 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.138 H 263.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2C52A3 |
|---|---|
| RGB | rgb(44, 82, 163) |
| HSL | hsl(221, 57%, 41%) |
| HSV | hsv(221, 73%, 64%) |
| CMYK | cmyk(73%, 49.7%, 0%, 36.1%) |
| CIE-LAB | lab(36.39, 15.33, -47.79) |
| CIE-LCH | lch(36.39, 50.19, 287.79°) |
| OKLab | oklab(45.69% -0.0165 -0.1372) |
| OKLCH | oklch(45.69% 0.138 263.1) |
| XYZ | xyz(10.6645, 9.2133, 35.8595) |
| Luminance | 0.0921 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.04
Dusk Blue
#26538D
ΔE00 3.59
Cobalt
#0047AB
ΔE00 3.91
Denim Blue
#3B5B92
ΔE00 3.91
Cobalt (survey)
#1E488F
ΔE00 4.07
Light Navy Blue
#2E5A88
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C52A3 #A37D2C
analogous
#2C8DA3 #2C52A3 #412CA3
triadic
#2C52A3 #A32C52 #52A32C
tetradic
#2C52A3 #A32C8D #A37D2C #2CA341
square
#2C52A3 #A32C8D #A37D2C #2CA341
split-complementary
#2C52A3 #A3412C #8DA32C
monochromatic
#122243 #1F3A73 #2C52A3 #416DCC #7192D9
Accessibility & contrast
On white
7.39
#2C52A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2C52A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C52A3
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C52A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C52A3 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245BA6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2c52a3; /* rgb */ color: rgb(44, 82, 163); /* oklch */ color: oklch(45.7% 0.138 263.1);
Tailwind
colors: {
custom: {
50: '#7582bf',
500: '#2c52a3',
950: '#000000',
},
}SCSS
$custom: #2c52a3; $custom-light: #7582bf; $custom-dark: #000000;
JSON
{
"hex": "#2c52a3",
"rgb": {
"r": 44,
"g": 82,
"b": 163
},
"hsl": {
"h": 220.84,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.45689,
"c": 0.13819,
"h": 263.1
},
"luminance": 0.09214
}Semantic roles & 50–950 ramp
primary
#2C52A3
secondary
#C0A56B
accent
#B047E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81