#2020AC#2020AC

#2020AC is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.2% C 0.210 H 270.1°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2020AC
RGBrgb(32, 32, 172)
HSLhsl(240, 69%, 40%)
HSVhsv(240, 81%, 67%)
CMYKcmyk(81.4%, 81.4%, 0%, 32.5%)
CIE-LABlab(24.70, 48.68, -72.36)
CIE-LCHlch(24.70, 87.21, 303.93°)
OKLaboklab(37.2% 0.0003 -0.2095)
OKLCHoklch(37.2% 0.21 270.1)
XYZxyz(8.5560, 4.3177, 39.4042)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2020AC #ACAC20
analogous
#2066AC #2020AC #6620AC
triadic
#2020AC #AC2020 #20AC20
tetradic
#2020AC #AC2066 #ACAC20 #20AC66
square
#2020AC #AC2066 #ACAC20 #20AC66
split-complementary
#2020AC #AC6620 #66AC20
monochromatic
#0D0D45 #161678 #2020AC #3131D9 #6464E2

Accessibility & contrast

On white

11.27
#2020AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2020AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2020AC
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2020AC#FFFFFF#000000##FFFFFF
##2020AC1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0033AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2020ac;
/* rgb */ color: rgb(32, 32, 172);
/* oklch */ color: oklch(37.2% 0.210 270.1);
Tailwind
colors: {
  custom: {
    50: '#775fc6',
    500: '#2020ac',
    950: '#000000',
  },
}
SCSS
$custom: #2020ac;
$custom-light: #775fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2020ac",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 240,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.37195,
    "c": 0.20951,
    "h": 270.1
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#2020AC
secondary
#C7C760
accent
#EB3CEB
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2020AC

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

Preview Lab → · Contrast checker → · Palette generator →

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