#201585#201585

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

Color values

HEX#201585
RGBrgb(32, 21, 133)
HSLhsl(246, 73%, 30%)
HSVhsv(246, 84%, 52%)
CMYKcmyk(75.9%, 84.2%, 0%, 47.8%)
CIE-LABlab(18.08, 41.63, -59.32)
CIE-LCHlch(18.08, 72.47, 305.07°)
OKLaboklab(31.23% 0.0129 -0.1715)
OKLCHoklch(31.23% 0.172 274.3)
XYZxyz(5.0961, 2.5363, 22.4067)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201585 #7A8515
analogous
#154285 #201585 #581585
triadic
#201585 #852015 #158520
tetradic
#201585 #851542 #7A8515 #158558
square
#201585 #851542 #7A8515 #158558
split-complementary
#201585 #855815 #428515
monochromatic
#07041B #130D50 #201585 #2D1DBA #4635DF

Accessibility & contrast

On white

13.93
#201585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201585
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201585#FFFFFF#000000##FFFFFF
##2015851.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003188
Deuteranopia (green-blind)
#002783
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201585;
/* rgb */ color: rgb(32, 21, 133);
/* oklch */ color: oklch(31.2% 0.172 274.3);
Tailwind
colors: {
  custom: {
    50: '#6e56aa',
    500: '#201585',
    950: '#000000',
  },
}
SCSS
$custom: #201585;
$custom-light: #6e56aa;
$custom-dark: #000000;
JSON
{
  "hex": "#201585",
  "rgb": {
    "r": 32,
    "g": 21,
    "b": 133
  },
  "hsl": {
    "h": 245.893,
    "s": 72.727,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31231,
    "c": 0.17201,
    "h": 274.3
  },
  "luminance": 0.02537
}

Semantic roles & 50–950 ramp

primary
#201585
secondary
#ADB93C
accent
#EF38DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #201585

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

Preview Lab → · Contrast checker → · Palette generator →

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