#201381#201381

#201381 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.169 H 275.0°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#201381
RGBrgb(32, 19, 129)
HSLhsl(247, 74%, 29%)
HSVhsv(247, 85%, 51%)
CMYKcmyk(75.2%, 85.3%, 0%, 49.4%)
CIE-LABlab(17.26, 41.32, -58.15)
CIE-LCHlch(17.26, 71.33, 305.40°)
OKLaboklab(30.52% 0.0147 -0.1681)
OKLCHoklch(30.52% 0.169 275)
XYZxyz(4.7897, 2.3573, 20.9672)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201381 #748113
analogous
#133D81 #201381 #571381
triadic
#201381 #812013 #138120
tetradic
#201381 #81133D #748113 #138157
square
#201381 #81133D #748113 #138157
split-complementary
#201381 #815713 #3D8113
monochromatic
#07041B #130B4C #201381 #2D1BB6 #432EE0

Accessibility & contrast

On white

14.27
#201381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#201381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201381
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201381#FFFFFF#000000##FFFFFF
##2013811.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00257F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #201381;
/* rgb */ color: rgb(32, 19, 129);
/* oklch */ color: oklch(30.5% 0.169 275.0);
Tailwind
colors: {
  custom: {
    50: '#6d55a7',
    500: '#201381',
    950: '#000000',
  },
}
SCSS
$custom: #201381;
$custom-light: #6d55a7;
$custom-dark: #000000;
JSON
{
  "hex": "#201381",
  "rgb": {
    "r": 32,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 247.091,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30519,
    "c": 0.16875,
    "h": 275
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#201381
secondary
#A8B63A
accent
#F137DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #201381

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

Preview Lab → · Contrast checker → · Palette generator →

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