#2050A8#2050A8

#2050A8 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.2% C 0.151 H 261.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2050A8
RGBrgb(32, 80, 168)
HSLhsl(219, 68%, 39%)
HSVhsv(219, 81%, 66%)
CMYKcmyk(81%, 52.4%, 0%, 34.1%)
CIE-LABlab(35.73, 17.15, -51.86)
CIE-LCHlch(35.73, 54.62, 288.30°)
OKLaboklab(45.18% -0.023 -0.1494)
OKLCHoklch(45.18% 0.151 261.3)
XYZxyz(10.5297, 8.8703, 38.1954)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2050A8 #A87820
analogous
#2094A8 #2050A8 #3420A8
triadic
#2050A8 #A82050 #50A820
tetradic
#2050A8 #A82094 #A87820 #20A834
square
#2050A8 #A82094 #A87820 #20A834
split-complementary
#2050A8 #A83420 #94A820
monochromatic
#0C1F41 #163875 #2050A8 #2E6AD7 #618EE1

Accessibility & contrast

On white

7.57
#2050A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2050A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2050A8
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2050A8#FFFFFF#000000##FFFFFF
##2050A81.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135BAB
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2050a8;
/* rgb */ color: rgb(32, 80, 168);
/* oklch */ color: oklch(45.2% 0.151 261.3);
Tailwind
colors: {
  custom: {
    50: '#7280c2',
    500: '#2050a8',
    950: '#000000',
  },
}
SCSS
$custom: #2050a8;
$custom-light: #7280c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2050a8",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 168
  },
  "hsl": {
    "h": 218.824,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45176,
    "c": 0.15117,
    "h": 261.3
  },
  "luminance": 0.08872
}

Semantic roles & 50–950 ramp

primary
#2050A8
secondary
#C6A15E
accent
#AD3DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2050A8

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

Preview Lab → · Contrast checker → · Palette generator →

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