#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
RGBrgb(32, 82, 195)
HSLhsl(222, 72%, 45%)
HSVhsv(222, 84%, 76%)
CMYKcmyk(83.6%, 57.9%, 0%, 23.5%)
CIE-LABlab(38.34, 26.39, -63.53)
CIE-LCHlch(38.34, 68.79, 292.56°)
OKLaboklab(47.8% -0.022 -0.1837)
OKLCHoklch(47.8% 0.185 263.2)
XYZxyz(13.4598, 10.2801, 52.8940)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##2052C31.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.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

Preview Lab

Preview with #2052C3

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

Preview Lab → · Contrast checker → · Palette generator →

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