#2020A9#2020A9

#2020A9 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.8% C 0.206 H 270.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2020A9
RGBrgb(32, 32, 169)
HSLhsl(240, 68%, 39%)
HSVhsv(240, 81%, 66%)
CMYKcmyk(81.1%, 81.1%, 0%, 33.7%)
CIE-LABlab(24.33, 47.72, -71.15)
CIE-LCHlch(24.33, 85.67, 303.85°)
OKLaboklab(36.84% 0.001 -0.206)
OKLCHoklch(36.84% 0.206 270.3)
XYZxyz(8.2712, 4.2037, 37.9039)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2020A9 #A9A920
analogous
#2065A9 #2020A9 #6520A9
triadic
#2020A9 #A92020 #20A920
tetradic
#2020A9 #A92065 #A9A920 #20A965
square
#2020A9 #A92065 #A9A920 #20A965
split-complementary
#2020A9 #A96520 #65A920
monochromatic
#0D0D42 #161676 #2020A9 #2F2FD8 #6262E1

Accessibility & contrast

On white

11.41
#2020A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2020A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2020A9
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2020A9#FFFFFF#000000##FFFFFF
##2020A91.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AD
Deuteranopia (green-blind)
#0033A7
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2020a9;
/* rgb */ color: rgb(32, 32, 169);
/* oklch */ color: oklch(36.8% 0.206 270.3);
Tailwind
colors: {
  custom: {
    50: '#775fc4',
    500: '#2020a9',
    950: '#000000',
  },
}
SCSS
$custom: #2020a9;
$custom-light: #775fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2020a9",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 240,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3684,
    "c": 0.20601,
    "h": 270.3
  },
  "luminance": 0.04205
}

Semantic roles & 50–950 ramp

primary
#2020A9
secondary
#C6C65F
accent
#EB3DEB
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2020A9

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

Preview Lab → · Contrast checker → · Palette generator →

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