#201870#201870

#201870 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.143 H 276.9°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#201870
RGBrgb(32, 24, 112)
HSLhsl(245, 65%, 27%)
HSVhsv(245, 79%, 44%)
CMYKcmyk(71.4%, 78.6%, 0%, 56.1%)
CIE-LABlab(16.15, 33.06, -49.07)
CIE-LCHlch(16.15, 59.16, 303.97°)
OKLaboklab(29.16% 0.0171 -0.1418)
OKLCHoklch(29.16% 0.143 276.9)
XYZxyz(3.8460, 2.1299, 15.5345)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201870 #687018
analogous
#183C70 #201870 #4C1870
triadic
#201870 #702018 #187020
tetradic
#201870 #70183C #687018 #18704C
square
#201870 #70183C #687018 #18704C
split-complementary
#201870 #704C18 #3C7018
monochromatic
#070519 #120D3E #201870 #2E23A2 #3F30D3

Accessibility & contrast

On white

14.73
#201870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#201870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201870
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201870#FFFFFF#000000##FFFFFF
##2018701.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #201870;
/* rgb */ color: rgb(32, 24, 112);
/* oklch */ color: oklch(29.2% 0.143 276.9);
Tailwind
colors: {
  custom: {
    50: '#69579a',
    500: '#201870',
    950: '#000000',
  },
}
SCSS
$custom: #201870;
$custom-light: #69579a;
$custom-dark: #000000;
JSON
{
  "hex": "#201870",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 245.455,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29156,
    "c": 0.14281,
    "h": 276.9
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#201870
secondary
#9CA53E
accent
#E840D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201870

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

Preview Lab → · Contrast checker → · Palette generator →

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