#201770#201770

#201770 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.144 H 277.1°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#201770
RGBrgb(32, 23, 112)
HSLhsl(246, 66%, 26%)
HSVhsv(246, 79%, 44%)
CMYKcmyk(71.4%, 79.5%, 0%, 56.1%)
CIE-LABlab(15.95, 33.64, -49.41)
CIE-LCHlch(15.95, 59.77, 304.25°)
OKLaboklab(29.01% 0.0177 -0.1428)
OKLCHoklch(29.01% 0.144 277.1)
XYZxyz(3.8257, 2.0894, 15.5278)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201770 #677017
analogous
#173B70 #201770 #4D1770
triadic
#201770 #702017 #177020
tetradic
#201770 #70173B #677017 #17704D
square
#201770 #70173B #677017 #17704D
split-complementary
#201770 #704D17 #3B7017
monochromatic
#070519 #110D3D #201770 #2F21A3 #3E2DD4

Accessibility & contrast

On white

14.81
#201770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#201770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201770
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201770#FFFFFF#000000##FFFFFF
##2017701.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201770;
/* rgb */ color: rgb(32, 23, 112);
/* oklch */ color: oklch(29.0% 0.144 277.1);
Tailwind
colors: {
  custom: {
    50: '#69569a',
    500: '#201770',
    950: '#000000',
  },
}
SCSS
$custom: #201770;
$custom-light: #69569a;
$custom-dark: #000000;
JSON
{
  "hex": "#201770",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 112
  },
  "hsl": {
    "h": 246.067,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29011,
    "c": 0.14386,
    "h": 277.1
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#201770
secondary
#9BA63D
accent
#E93FD8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201770

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

Preview Lab → · Contrast checker → · Palette generator →

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