#201783#201783

#201783 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.168 H 274.3°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#201783
RGBrgb(32, 23, 131)
HSLhsl(245, 70%, 30%)
HSVhsv(245, 82%, 51%)
CMYKcmyk(75.6%, 82.4%, 0%, 48.6%)
CIE-LABlab(18.18, 39.99, -57.89)
CIE-LCHlch(18.18, 70.36, 304.64°)
OKLaboklab(31.23% 0.0127 -0.1674)
OKLCHoklch(31.23% 0.168 274.3)
XYZxyz(4.9974, 2.5581, 21.6987)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201783 #7A8317
analogous
#174483 #201783 #561783
triadic
#201783 #832017 #178320
tetradic
#201783 #831744 #7A8317 #178356
square
#201783 #831744 #7A8317 #178356
split-complementary
#201783 #835617 #448317
monochromatic
#07051B #130E4F #201783 #2D20B7 #4638DC

Accessibility & contrast

On white

13.89
#201783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#201783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201783
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201783#FFFFFF#000000##FFFFFF
##2017831.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002781
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201783;
/* rgb */ color: rgb(32, 23, 131);
/* oklch */ color: oklch(31.2% 0.168 274.3);
Tailwind
colors: {
  custom: {
    50: '#6e57a8',
    500: '#201783',
    950: '#000000',
  },
}
SCSS
$custom: #201783;
$custom-light: #6e57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#201783",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 245,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31227,
    "c": 0.16791,
    "h": 274.3
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#201783
secondary
#ADB73F
accent
#ED3BDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #201783

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

Preview Lab → · Contrast checker → · Palette generator →

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