#201785#201785

#201785 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.170 H 274.1°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#201785
RGBrgb(32, 23, 133)
HSLhsl(245, 71%, 31%)
HSVhsv(245, 83%, 52%)
CMYKcmyk(75.9%, 82.7%, 0%, 47.8%)
CIE-LABlab(18.42, 40.64, -58.75)
CIE-LCHlch(18.42, 71.44, 304.67°)
OKLaboklab(31.47% 0.0121 -0.1699)
OKLCHoklch(31.47% 0.17 274.1)
XYZxyz(5.1343, 2.6128, 22.4195)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201785 #7C8517
analogous
#174585 #201785 #571785
triadic
#201785 #852017 #178520
tetradic
#201785 #851745 #7C8517 #178557
square
#201785 #851745 #7C8517 #178557
split-complementary
#201785 #855717 #458517
monochromatic
#07051D #130E51 #201785 #2D20B9 #473ADD

Accessibility & contrast

On white

13.79
#201785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#201785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201785
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201785#FFFFFF#000000##FFFFFF
##2017851.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201785;
/* rgb */ color: rgb(32, 23, 133);
/* oklch */ color: oklch(31.5% 0.170 274.1);
Tailwind
colors: {
  custom: {
    50: '#6e57aa',
    500: '#201785',
    950: '#000000',
  },
}
SCSS
$custom: #201785;
$custom-light: #6e57aa;
$custom-dark: #000000;
JSON
{
  "hex": "#201785",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 244.909,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31466,
    "c": 0.17036,
    "h": 274.1
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#201785
secondary
#AFB93F
accent
#ED3BDF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #201785

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

Preview Lab → · Contrast checker → · Palette generator →

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