#2052C2#2052C2

#2052C2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.184 H 263.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2052C2
RGBrgb(32, 82, 194)
HSLhsl(221, 72%, 44%)
HSVhsv(221, 84%, 76%)
CMYKcmyk(83.5%, 57.7%, 0%, 23.9%)
CIE-LABlab(38.26, 26.00, -63.08)
CIE-LCHlch(38.26, 68.23, 292.40°)
OKLaboklab(47.71% -0.0221 -0.1824)
OKLCHoklch(47.71% 0.184 263.1)
XYZxyz(13.3471, 10.2351, 52.3006)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2052C2 #C29020
analogous
#20A3C2 #2052C2 #3F20C2
triadic
#2052C2 #C22052 #52C220
tetradic
#2052C2 #C220A3 #C29020 #20C23F
square
#2052C2 #C220A3 #C29020 #20C23F
split-complementary
#2052C2 #C23F20 #A3C220
monochromatic
#0F2659 #173C8D #2052C2 #4071DF #7498E8

Accessibility & contrast

On white

6.89
#2052C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2052C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2052C2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2052C2#FFFFFF#000000##FFFFFF
##2052C21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2052c2;
/* rgb */ color: rgb(32, 82, 194);
/* oklch */ color: oklch(47.7% 0.184 263.1);
Tailwind
colors: {
  custom: {
    50: '#7982d5',
    500: '#2052c2',
    950: '#000000',
  },
}
SCSS
$custom: #2052c2;
$custom-light: #7982d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2052c2",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 221.481,
    "s": 71.681,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47711,
    "c": 0.18368,
    "h": 263.1
  },
  "luminance": 0.10237
}

Semantic roles & 50–950 ramp

primary
#2052C2
secondary
#CFB16F
accent
#B739EE
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2052C2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2052C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva