#2020A7#2020A7

#2020A7 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.6% C 0.204 H 270.4°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2020A7
RGBrgb(32, 32, 167)
HSLhsl(240, 68%, 39%)
HSVhsv(240, 81%, 65%)
CMYKcmyk(80.8%, 80.8%, 0%, 34.5%)
CIE-LABlab(24.09, 47.08, -70.34)
CIE-LCHlch(24.09, 84.64, 303.79°)
OKLaboklab(36.6% 0.0014 -0.2037)
OKLCHoklch(36.6% 0.204 270.4)
XYZxyz(8.0849, 4.1292, 36.9226)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2020A7 #A7A720
analogous
#2064A7 #2020A7 #6420A7
triadic
#2020A7 #A72020 #20A720
tetradic
#2020A7 #A72064 #A7A720 #20A764
square
#2020A7 #A72064 #A7A720 #20A764
split-complementary
#2020A7 #A76420 #64A720
monochromatic
#0C0C40 #161674 #2020A7 #2D2DD7 #6161E1

Accessibility & contrast

On white

11.50
#2020A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2020A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2020A7
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2020A7#FFFFFF#000000##FFFFFF
##2020A71.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AB
Deuteranopia (green-blind)
#0032A5
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2020a7;
/* rgb */ color: rgb(32, 32, 167);
/* oklch */ color: oklch(36.6% 0.204 270.4);
Tailwind
colors: {
  custom: {
    50: '#765fc3',
    500: '#2020a7',
    950: '#000000',
  },
}
SCSS
$custom: #2020a7;
$custom-light: #765fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2020a7",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 240,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36603,
    "c": 0.20366,
    "h": 270.4
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#2020A7
secondary
#C5C55D
accent
#EB3DEB
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2020A7

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

Preview Lab → · Contrast checker → · Palette generator →

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