#2020A0#2020A0

#2020A0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.195 H 270.8°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#2020A0
RGBrgb(32, 32, 160)
HSLhsl(240, 67%, 38%)
HSVhsv(240, 80%, 63%)
CMYKcmyk(80%, 80%, 0%, 37.3%)
CIE-LABlab(23.26, 44.80, -67.47)
CIE-LCHlch(23.26, 80.99, 303.58°)
OKLaboklab(35.78% 0.0028 -0.1953)
OKLCHoklch(35.78% 0.195 270.8)
XYZxyz(7.4552, 3.8773, 33.6064)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2020A0 #A0A020
analogous
#2060A0 #2020A0 #6020A0
triadic
#2020A0 #A02020 #20A020
tetradic
#2020A0 #A02060 #A0A020 #20A060
square
#2020A0 #A02060 #A0A020 #20A060
split-complementary
#2020A0 #A06020 #60A020
monochromatic
#0C0C3A #16166D #2020A0 #2A2AD3 #5C5CDE

Accessibility & contrast

On white

11.83
#2020A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2020A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2020A0
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2020A0#FFFFFF#000000##FFFFFF
##2020A01.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2020a0;
/* rgb */ color: rgb(32, 32, 160);
/* oklch */ color: oklch(35.8% 0.195 270.8);
Tailwind
colors: {
  custom: {
    50: '#745ebd',
    500: '#2020a0',
    950: '#000000',
  },
}
SCSS
$custom: #2020a0;
$custom-light: #745ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2020a0",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 240,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.35781,
    "c": 0.19536,
    "h": 270.8
  },
  "luminance": 0.03878
}

Semantic roles & 50–950 ramp

primary
#2020A0
secondary
#C3C359
accent
#EA3EEA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2020A0

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

Preview Lab → · Contrast checker → · Palette generator →

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