#2C52BD#2C52BD
#2C52BD is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.174 H 265.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2C52BD |
|---|---|
| RGB | rgb(44, 82, 189) |
| HSL | hsl(224, 62%, 46%) |
| HSV | hsv(224, 77%, 74%) |
| CMYK | cmyk(76.7%, 56.6%, 0%, 25.9%) |
| CIE-LAB | lab(38.27, 25.24, -60.12) |
| CIE-LCH | lch(38.27, 65.20, 292.77°) |
| OKLab | oklab(47.71% -0.014 -0.1735) |
| OKLCH | oklch(47.71% 0.174 265.4) |
| XYZ | xyz(13.2381, 10.2427, 49.4136) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.33
Cobalt
#0047AB
ΔE00 4.67
Blue Blue
#2242C7
ΔE00 5.26
Denim
#1560BD
ΔE00 6.07
Warm Blue
#4B57DB
ΔE00 6.10
Blue (survey)
#0343DF
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C52BD #BD972C
analogous
#2C9ABD #2C52BD #4E2CBD
triadic
#2C52BD #BD2C52 #52BD2C
tetradic
#2C52BD #BD2C9A #BD972C #2CBD4E
square
#2C52BD #BD2C9A #BD972C #2CBD4E
split-complementary
#2C52BD #BD4E2C #9ABD2C
monochromatic
#15275A #203C8B #2C52BD #5073D6 #829BE2
Accessibility & contrast
On white
6.89
#2C52BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#2C52BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C52BD
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C52BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C52BD | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2c52bd; /* rgb */ color: rgb(44, 82, 189); /* oklch */ color: oklch(47.7% 0.174 265.4);
Tailwind
colors: {
custom: {
50: '#7b82d2',
500: '#2c52bd',
950: '#000000',
},
}SCSS
$custom: #2c52bd; $custom-light: #7b82d2; $custom-dark: #000000;
JSON
{
"hex": "#2c52bd",
"rgb": {
"r": 44,
"g": 82,
"b": 189
},
"hsl": {
"h": 224.276,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.47713,
"c": 0.17405,
"h": 265.4
},
"luminance": 0.10244
}Semantic roles & 50–950 ramp
primary
#2C52BD
secondary
#CBB67A
accent
#BB42E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83