#2051CA#2051CA

#2051CA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.195 H 263.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2051CA
RGBrgb(32, 81, 202)
HSLhsl(223, 73%, 46%)
HSVhsv(223, 84%, 79%)
CMYKcmyk(84.2%, 59.9%, 0%, 20.8%)
CIE-LABlab(38.65, 29.74, -67.10)
CIE-LCHlch(38.65, 73.39, 293.90°)
OKLaboklab(48.2% -0.0211 -0.1942)
OKLCHoklch(48.2% 0.195 263.8)
XYZxyz(14.1950, 10.4544, 57.1354)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2051CA #CA9920
analogous
#20A6CA #2051CA #4420CA
triadic
#2051CA #CA2051 #51CA20
tetradic
#2051CA #CA20A6 #CA9920 #20CA44
square
#2051CA #CA20A6 #CA9920 #20CA44
split-complementary
#2051CA #CA4420 #A6CA20
monochromatic
#0F2760 #183C95 #2051CA #4673E2 #7A9BEA

Accessibility & contrast

On white

6.79
#2051CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2051CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2051CA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2051CA#FFFFFF#000000##FFFFFF
##2051CA1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2051ca;
/* rgb */ color: rgb(32, 81, 202);
/* oklch */ color: oklch(48.2% 0.195 263.8);
Tailwind
colors: {
  custom: {
    50: '#7b81db',
    500: '#2051ca',
    950: '#000000',
  },
}
SCSS
$custom: #2051ca;
$custom-light: #7b81db;
$custom-dark: #000000;
JSON
{
  "hex": "#2051ca",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 222.706,
    "s": 72.65,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48201,
    "c": 0.19532,
    "h": 263.8
  },
  "luminance": 0.10456
}

Semantic roles & 50–950 ramp

primary
#2051CA
secondary
#D2B774
accent
#BB38EF
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #2051CA

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

Preview Lab → · Contrast checker → · Palette generator →

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