#2020B1#2020B1

#2020B1 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.215 H 269.8°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2020B1
RGBrgb(32, 32, 177)
HSLhsl(240, 69%, 41%)
HSVhsv(240, 82%, 69%)
CMYKcmyk(81.9%, 81.9%, 0%, 30.6%)
CIE-LABlab(25.30, 50.26, -74.36)
CIE-LCHlch(25.30, 89.75, 304.05°)
OKLaboklab(37.79% -0.0007 -0.2153)
OKLCHoklch(37.79% 0.215 269.8)
XYZxyz(9.0453, 4.5134, 41.9809)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2020B1 #B1B120
analogous
#2068B1 #2020B1 #6820B1
triadic
#2020B1 #B12020 #20B120
tetradic
#2020B1 #B12068 #B1B120 #20B168
square
#2020B1 #B12068 #B1B120 #20B168
split-complementary
#2020B1 #B16820 #68B120
monochromatic
#0D0D49 #17177D #2020B1 #3434DA #6868E4

Accessibility & contrast

On white

11.04
#2020B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2020B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2020B1
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2020B1#FFFFFF#000000##FFFFFF
##2020B11.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B5
Deuteranopia (green-blind)
#0034AF
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2020b1;
/* rgb */ color: rgb(32, 32, 177);
/* oklch */ color: oklch(37.8% 0.215 269.8);
Tailwind
colors: {
  custom: {
    50: '#795fca',
    500: '#2020b1',
    950: '#000000',
  },
}
SCSS
$custom: #2020b1;
$custom-light: #795fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2020b1",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 177
  },
  "hsl": {
    "h": 240,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.37791,
    "c": 0.21529,
    "h": 269.8
  },
  "luminance": 0.04514
}

Semantic roles & 50–950 ramp

primary
#2020B1
secondary
#C9C964
accent
#EC3CEC
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2020B1

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

Preview Lab → · Contrast checker → · Palette generator →

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