#2050B4#2050B4

#2050B4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.168 H 262.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2050B4
RGBrgb(32, 80, 180)
HSLhsl(221, 70%, 42%)
HSVhsv(221, 82%, 71%)
CMYKcmyk(82.2%, 55.6%, 0%, 29.4%)
CIE-LABlab(36.63, 21.88, -57.52)
CIE-LCHlch(36.63, 61.55, 290.82°)
OKLaboklab(46.14% -0.0218 -0.1661)
OKLCHoklch(46.14% 0.168 262.5)
XYZxyz(11.6996, 9.3383, 44.3570)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2050B4 #B48420
analogous
#209AB4 #2050B4 #3A20B4
triadic
#2050B4 #B42050 #50B420
tetradic
#2050B4 #B4209A #B48420 #20B43A
square
#2050B4 #B4209A #B48420 #20B43A
split-complementary
#2050B4 #B43A20 #9AB420
monochromatic
#0E224C #173980 #2050B4 #366CDB #6A92E4

Accessibility & contrast

On white

7.32
#2050B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2050B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2050B4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2050B4#FFFFFF#000000##FFFFFF
##2050B41.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2050b4;
/* rgb */ color: rgb(32, 80, 180);
/* oklch */ color: oklch(46.1% 0.168 262.5);
Tailwind
colors: {
  custom: {
    50: '#7580cb',
    500: '#2050b4',
    950: '#000000',
  },
}
SCSS
$custom: #2050b4;
$custom-light: #7580cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2050b4",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 220.541,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46137,
    "c": 0.1675,
    "h": 262.5
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#2050B4
secondary
#CAAA66
accent
#B33BED
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2050B4

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

Preview Lab → · Contrast checker → · Palette generator →

#2050B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva