#2051C2#2051C2

#2051C2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.185 H 263.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2051C2
RGBrgb(32, 81, 194)
HSLhsl(222, 72%, 44%)
HSVhsv(222, 84%, 76%)
CMYKcmyk(83.5%, 58.2%, 0%, 23.9%)
CIE-LABlab(38.00, 26.66, -63.51)
CIE-LCHlch(38.00, 68.88, 292.77°)
OKLaboklab(47.51% -0.0215 -0.1836)
OKLCHoklch(47.51% 0.185 263.3)
XYZxyz(13.2722, 10.0853, 52.2756)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2051C2 #C29120
analogous
#20A2C2 #2051C2 #4020C2
triadic
#2051C2 #C22051 #51C220
tetradic
#2051C2 #C220A2 #C29120 #20C240
square
#2051C2 #C220A2 #C29120 #20C240
split-complementary
#2051C2 #C24020 #A2C220
monochromatic
#0F2559 #173B8D #2051C2 #4070DF #7497E8

Accessibility & contrast

On white

6.96
#2051C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2051C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2051C2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2051C2#FFFFFF#000000##FFFFFF
##2051C21.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0052C0
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2051c2;
/* rgb */ color: rgb(32, 81, 194);
/* oklch */ color: oklch(47.5% 0.185 263.3);
Tailwind
colors: {
  custom: {
    50: '#7981d5',
    500: '#2051c2',
    950: '#000000',
  },
}
SCSS
$custom: #2051c2;
$custom-light: #7981d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2051c2",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 221.852,
    "s": 71.681,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47512,
    "c": 0.18489,
    "h": 263.3
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#2051C2
secondary
#CFB26F
accent
#B839EE
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2051C2

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

Preview Lab → · Contrast checker → · Palette generator →

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