#201781#201781

#201781 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.165 H 274.6°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#201781
RGBrgb(32, 23, 129)
HSLhsl(245, 70%, 30%)
HSVhsv(245, 82%, 51%)
CMYKcmyk(75.2%, 82.2%, 0%, 49.4%)
CIE-LABlab(17.94, 39.34, -57.02)
CIE-LCHlch(17.94, 69.28, 304.60°)
OKLaboklab(30.99% 0.0132 -0.1649)
OKLCHoklch(30.99% 0.165 274.6)
XYZxyz(4.8632, 2.5044, 20.9917)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201781 #788117
analogous
#174381 #201781 #551781
triadic
#201781 #812017 #178120
tetradic
#201781 #811743 #788117 #178155
square
#201781 #811743 #788117 #178155
split-complementary
#201781 #815517 #438117
monochromatic
#06051A #130E4D #201781 #2D20B5 #4537DB

Accessibility & contrast

On white

13.99
#201781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201781
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201781#FFFFFF#000000##FFFFFF
##2017811.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#00277F
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201781;
/* rgb */ color: rgb(32, 23, 129);
/* oklch */ color: oklch(31.0% 0.165 274.6);
Tailwind
colors: {
  custom: {
    50: '#6d57a7',
    500: '#201781',
    950: '#000000',
  },
}
SCSS
$custom: #201781;
$custom-light: #6d57a7;
$custom-dark: #000000;
JSON
{
  "hex": "#201781",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 245.094,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.30989,
    "c": 0.16545,
    "h": 274.6
  },
  "luminance": 0.02505
}

Semantic roles & 50–950 ramp

primary
#201781
secondary
#ABB53E
accent
#ED3BDD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #201781

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

Preview Lab → · Contrast checker → · Palette generator →

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