#2020A6#2020A6

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

Color values

HEX#2020A6
RGBrgb(32, 32, 166)
HSLhsl(240, 68%, 39%)
HSVhsv(240, 81%, 65%)
CMYKcmyk(80.7%, 80.7%, 0%, 34.9%)
CIE-LABlab(23.97, 46.75, -69.93)
CIE-LCHlch(23.97, 84.12, 303.76°)
OKLaboklab(36.49% 0.0016 -0.2025)
OKLCHoklch(36.49% 0.203 270.4)
XYZxyz(7.9928, 4.0924, 36.4377)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2020A6 #A6A620
analogous
#2063A6 #2020A6 #6320A6
triadic
#2020A6 #A62020 #20A620
tetradic
#2020A6 #A62063 #A6A620 #20A663
square
#2020A6 #A62063 #A6A620 #20A663
split-complementary
#2020A6 #A66320 #63A620
monochromatic
#0C0C3F #161673 #2020A6 #2D2DD6 #6060E0

Accessibility & contrast

On white

11.55
#2020A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2020A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2020A6
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2020A6#FFFFFF#000000##FFFFFF
##2020A61.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0032A4
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2020a6;
/* rgb */ color: rgb(32, 32, 166);
/* oklch */ color: oklch(36.5% 0.203 270.4);
Tailwind
colors: {
  custom: {
    50: '#765fc2',
    500: '#2020a6',
    950: '#000000',
  },
}
SCSS
$custom: #2020a6;
$custom-light: #765fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2020a6",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 240,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36485,
    "c": 0.2025,
    "h": 270.4
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#2020A6
secondary
#C5C55D
accent
#EB3DEB
background
#F7F5FC
surface
#EEE9F8
border
#C9C5D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2020A6

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

Preview Lab → · Contrast checker → · Palette generator →

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