#201790#201790

#201790 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.8% C 0.184 H 272.9°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#201790
RGBrgb(32, 23, 144)
HSLhsl(244, 72%, 33%)
HSVhsv(244, 84%, 56%)
CMYKcmyk(77.8%, 84%, 0%, 43.5%)
CIE-LABlab(19.77, 44.16, -63.40)
CIE-LCHlch(19.77, 77.27, 304.86°)
OKLaboklab(32.79% 0.0092 -0.1834)
OKLCHoklch(32.79% 0.184 272.9)
XYZxyz(5.9344, 2.9329, 26.6335)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201790 #879017
analogous
#174A90 #201790 #5D1790
triadic
#201790 #902017 #179020
tetradic
#201790 #90174A #879017 #17905D
square
#201790 #90174A #879017 #17905D
split-complementary
#201790 #905D17 #4A9017
monochromatic
#090626 #140F5B #201790 #2C1FC5 #4D41E1

Accessibility & contrast

On white

13.24
#201790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#201790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201790
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201790#FFFFFF#000000##FFFFFF
##2017901.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #201790;
/* rgb */ color: rgb(32, 23, 144);
/* oklch */ color: oklch(32.8% 0.184 272.9);
Tailwind
colors: {
  custom: {
    50: '#7158b2',
    500: '#201790',
    950: '#000000',
  },
}
SCSS
$custom: #201790;
$custom-light: #7158b2;
$custom-dark: #000000;
JSON
{
  "hex": "#201790",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 244.463,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.32793,
    "c": 0.18364,
    "h": 272.9
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#201790
secondary
#B8C142
accent
#EF39E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #201790

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

Preview Lab → · Contrast checker → · Palette generator →

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