#201881#201881

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

Color values

HEX#201881
RGBrgb(32, 24, 129)
HSLhsl(245, 69%, 30%)
HSVhsv(245, 81%, 51%)
CMYKcmyk(75.2%, 81.4%, 0%, 49.4%)
CIE-LABlab(18.12, 38.81, -56.72)
CIE-LCHlch(18.12, 68.73, 304.38°)
OKLaboklab(31.12% 0.0128 -0.1641)
OKLCHoklch(31.12% 0.165 274.5)
XYZxyz(4.8834, 2.5448, 20.9985)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201881 #798118
analogous
#184581 #201881 #541881
triadic
#201881 #812018 #188120
tetradic
#201881 #811845 #798118 #188154
square
#201881 #811845 #798118 #188154
split-complementary
#201881 #815418 #458118
monochromatic
#06051A #130E4D #201881 #2D22B5 #4539DA

Accessibility & contrast

On white

13.92
#201881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201881
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201881#FFFFFF#000000##FFFFFF
##2018811.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.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: #201881;
/* rgb */ color: rgb(32, 24, 129);
/* oklch */ color: oklch(31.1% 0.165 274.5);
Tailwind
colors: {
  custom: {
    50: '#6d58a7',
    500: '#201881',
    950: '#000000',
  },
}
SCSS
$custom: #201881;
$custom-light: #6d58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#201881",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 244.571,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.31116,
    "c": 0.16456,
    "h": 274.5
  },
  "luminance": 0.02545
}

Semantic roles & 50–950 ramp

primary
#201881
secondary
#ACB540
accent
#EB3CDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #201881

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

Preview Lab → · Contrast checker → · Palette generator →

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