#2020BD#2020BD

#2020BD is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.2% C 0.229 H 269.2°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2020BD
RGBrgb(32, 32, 189)
HSLhsl(240, 71%, 43%)
HSVhsv(240, 83%, 74%)
CMYKcmyk(83.1%, 83.1%, 0%, 25.9%)
CIE-LABlab(26.77, 53.98, -79.06)
CIE-LCHlch(26.77, 95.73, 304.32°)
OKLaboklab(39.23% -0.0032 -0.2289)
OKLCHoklch(39.23% 0.229 269.2)
XYZxyz(10.2944, 5.0130, 48.5593)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2020BD #BDBD20
analogous
#206EBD #2020BD #6E20BD
triadic
#2020BD #BD2020 #20BD20
tetradic
#2020BD #BD206E #BDBD20 #20BD6E
square
#2020BD #BD206E #BDBD20 #20BD6E
split-complementary
#2020BD #BD6E20 #6EBD20
monochromatic
#0E0E54 #171789 #2020BD #3C3CDE #7171E7

Accessibility & contrast

On white

10.49
#2020BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2020BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2020BD
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2020BD#FFFFFF#000000##FFFFFF
##2020BD1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047C1
Deuteranopia (green-blind)
#0037BA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2020bd;
/* rgb */ color: rgb(32, 32, 189);
/* oklch */ color: oklch(39.2% 0.229 269.2);
Tailwind
colors: {
  custom: {
    50: '#7c60d2',
    500: '#2020bd',
    950: '#000000',
  },
}
SCSS
$custom: #2020bd;
$custom-light: #7c60d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2020bd",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 240,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.3923,
    "c": 0.22891,
    "h": 269.2
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#2020BD
secondary
#CDCD6B
accent
#EE3AEE
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2020BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2020BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva