#2050A1#2050A1

#2050A1 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.141 H 260.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2050A1
RGBrgb(32, 80, 161)
HSLhsl(218, 67%, 38%)
HSVhsv(218, 80%, 63%)
CMYKcmyk(80.1%, 50.3%, 0%, 36.9%)
CIE-LABlab(35.23, 14.37, -48.48)
CIE-LCHlch(35.23, 50.56, 286.52°)
OKLaboklab(44.64% -0.0239 -0.1395)
OKLCHoklch(44.64% 0.142 260.3)
XYZxyz(9.8950, 8.6164, 34.8529)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2050A1 #A17120
analogous
#2091A1 #2050A1 #3020A1
triadic
#2050A1 #A12050 #50A120
tetradic
#2050A1 #A12091 #A17120 #20A130
square
#2050A1 #A12091 #A17120 #20A130
split-complementary
#2050A1 #A13020 #91A120
monochromatic
#0C1D3B #16376E #2050A1 #2A69D4 #5D8DDF

Accessibility & contrast

On white

7.71
#2050A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2050A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2050A1
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2050A1#FFFFFF#000000##FFFFFF
##2050A11.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F59A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2050a1;
/* rgb */ color: rgb(32, 80, 161);
/* oklch */ color: oklch(44.6% 0.141 260.3);
Tailwind
colors: {
  custom: {
    50: '#7180bd',
    500: '#2050a1',
    950: '#000000',
  },
}
SCSS
$custom: #2050a1;
$custom-light: #7180bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2050a1",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 161
  },
  "hsl": {
    "h": 217.674,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44636,
    "c": 0.1415,
    "h": 260.3
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#2050A1
secondary
#C39C5A
accent
#AA3EEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2050A1

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

Preview Lab → · Contrast checker → · Palette generator →

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