#201B7C#201B7C

#201B7C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.155 H 274.7°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#201B7C
RGBrgb(32, 27, 124)
HSLhsl(243, 64%, 30%)
HSVhsv(243, 78%, 49%)
CMYKcmyk(74.2%, 78.2%, 0%, 51.4%)
CIE-LABlab(18.12, 35.45, -53.54)
CIE-LCHlch(18.12, 64.21, 303.51°)
OKLaboklab(30.95% 0.0126 -0.1548)
OKLCHoklch(30.95% 0.155 274.7)
XYZxyz(4.6245, 2.5457, 19.3125)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B7C #777C1B
analogous
#1B477C #201B7C #511B7C
triadic
#201B7C #7C201B #1B7C20
tetradic
#201B7C #7C1B47 #777C1B #1B7C51
square
#201B7C #7C1B47 #777C1B #1B7C51
split-complementary
#201B7C #7C511B #477C1B
monochromatic
#060519 #13104A #201B7C #2D26AE #453DD5

Accessibility & contrast

On white

13.91
#201B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#201B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B7C
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B7C#FFFFFF#000000##FFFFFF
##201B7C1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#00287A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201b7c;
/* rgb */ color: rgb(32, 27, 124);
/* oklch */ color: oklch(30.9% 0.155 274.7);
Tailwind
colors: {
  custom: {
    50: '#6b59a3',
    500: '#201b7c',
    950: '#000000',
  },
}
SCSS
$custom: #201b7c;
$custom-light: #6b59a3;
$custom-dark: #000000;
JSON
{
  "hex": "#201b7c",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 243.093,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30948,
    "c": 0.15534,
    "h": 274.7
  },
  "luminance": 0.02546
}

Semantic roles & 50–950 ramp

primary
#201B7C
secondary
#AAB043
accent
#E741DF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #201B7C

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

Preview Lab → · Contrast checker → · Palette generator →

#201B7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva