#202070#202070

#202070 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.134 H 275.0°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#202070
RGBrgb(32, 32, 112)
HSLhsl(240, 56%, 28%)
HSVhsv(240, 71%, 44%)
CMYKcmyk(71.4%, 71.4%, 0%, 56.1%)
CIE-LABlab(17.96, 28.05, -46.09)
CIE-LCHlch(17.96, 53.96, 301.32°)
OKLaboklab(30.45% 0.0117 -0.1331)
OKLCHoklch(30.45% 0.134 275)
XYZxyz(4.0358, 2.5096, 15.5978)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202070 #707020
analogous
#204870 #202070 #482070
triadic
#202070 #702020 #207020
tetradic
#202070 #702048 #707020 #207048
square
#202070 #702048 #707020 #207048
split-complementary
#202070 #704820 #487020
monochromatic
#070718 #121240 #202070 #2E2EA0 #4242C9

Accessibility & contrast

On white

13.98
#202070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#202070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202070
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202070#FFFFFF#000000##FFFFFF
##2020701.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #202070;
/* rgb */ color: rgb(32, 32, 112);
/* oklch */ color: oklch(30.4% 0.134 275.0);
Tailwind
colors: {
  custom: {
    50: '#685c9a',
    500: '#202070',
    950: '#000000',
  },
}
SCSS
$custom: #202070;
$custom-light: #685c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#202070",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 112
  },
  "hsl": {
    "h": 240,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30447,
    "c": 0.13365,
    "h": 275
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#202070
secondary
#A4A448
accent
#DF49DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #202070

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

Preview Lab → · Contrast checker → · Palette generator →

#202070 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva