#201782#201782

#201782 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.167 H 274.5°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#201782
RGBrgb(32, 23, 130)
HSLhsl(245, 70%, 30%)
HSVhsv(245, 82%, 51%)
CMYKcmyk(75.4%, 82.3%, 0%, 49%)
CIE-LABlab(18.06, 39.66, -57.46)
CIE-LCHlch(18.06, 69.82, 304.62°)
OKLaboklab(31.11% 0.013 -0.1662)
OKLCHoklch(31.11% 0.167 274.5)
XYZxyz(4.9300, 2.5311, 21.3435)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201782 #798217
analogous
#174382 #201782 #561782
triadic
#201782 #822017 #178220
tetradic
#201782 #821743 #798217 #178256
square
#201782 #821743 #798217 #178256
split-complementary
#201782 #825617 #438217
monochromatic
#06051A #130E4E #201782 #2D20B6 #4538DC

Accessibility & contrast

On white

13.94
#201782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201782
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201782#FFFFFF#000000##FFFFFF
##2017821.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002780
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201782;
/* rgb */ color: rgb(32, 23, 130);
/* oklch */ color: oklch(31.1% 0.167 274.5);
Tailwind
colors: {
  custom: {
    50: '#6d57a8',
    500: '#201782',
    950: '#000000',
  },
}
SCSS
$custom: #201782;
$custom-light: #6d57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#201782",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 245.047,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.31108,
    "c": 0.16668,
    "h": 274.5
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #201782

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

Preview Lab → · Contrast checker → · Palette generator →

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