#2052C3#2052C3
#2052C3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.185 H 263.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2052C3 |
|---|---|
| RGB | rgb(32, 82, 195) |
| HSL | hsl(222, 72%, 45%) |
| HSV | hsv(222, 84%, 76%) |
| CMYK | cmyk(83.6%, 57.9%, 0%, 23.5%) |
| CIE-LAB | lab(38.34, 26.39, -63.53) |
| CIE-LCH | lch(38.34, 68.79, 292.56°) |
| OKLab | oklab(47.8% -0.022 -0.1837) |
| OKLCH | oklch(47.8% 0.185 263.2) |
| XYZ | xyz(13.4598, 10.2801, 52.8940) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.97
Cobalt
#0047AB
ΔE00 4.76
Blue Blue
#2242C7
ΔE00 5.33
Denim
#1560BD
ΔE00 5.70
Blue (survey)
#0343DF
ΔE00 5.84
Warm Blue
#4B57DB
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2052C3 #C39120
analogous
#20A4C3 #2052C3 #4020C3
triadic
#2052C3 #C32052 #52C320
tetradic
#2052C3 #C320A4 #C39120 #20C340
square
#2052C3 #C320A4 #C39120 #20C340
split-complementary
#2052C3 #C34020 #A4C320
monochromatic
#0F265A #173C8E #2052C3 #4071E0 #7598E8
Accessibility & contrast
On white
6.87
#2052C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2052C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2052C3
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2052C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2052C3 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2052c3; /* rgb */ color: rgb(32, 82, 195); /* oklch */ color: oklch(47.8% 0.185 263.2);
Tailwind
colors: {
custom: {
50: '#7982d6',
500: '#2052c3',
950: '#000000',
},
}SCSS
$custom: #2052c3; $custom-light: #7982d6; $custom-dark: #000000;
JSON
{
"hex": "#2052c3",
"rgb": {
"r": 32,
"g": 82,
"b": 195
},
"hsl": {
"h": 221.595,
"s": 71.806,
"l": 44.51
},
"oklch": {
"l": 0.47796,
"c": 0.18499,
"h": 263.2
},
"luminance": 0.10282
}Semantic roles & 50–950 ramp
primary
#2052C3
secondary
#CFB26F
accent
#B739EF
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83