#201B7B#201B7B

#201B7B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.154 H 274.8°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#201B7B
RGBrgb(32, 27, 123)
HSLhsl(243, 64%, 29%)
HSVhsv(243, 78%, 48%)
CMYKcmyk(74%, 78%, 0%, 51.8%)
CIE-LABlab(18.01, 35.10, -53.08)
CIE-LCHlch(18.01, 63.64, 303.47°)
OKLaboklab(30.84% 0.0128 -0.1535)
OKLCHoklch(30.84% 0.154 274.8)
XYZxyz(4.5616, 2.5206, 18.9812)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B7B #767B1B
analogous
#1B467B #201B7B #501B7B
triadic
#201B7B #7B201B #1B7B20
tetradic
#201B7B #7B1B46 #767B1B #1B7B50
square
#201B7B #7B1B46 #767B1B #1B7B50
split-complementary
#201B7B #7B501B #467B1B
monochromatic
#070619 #131049 #201B7B #2D26AD #443CD4

Accessibility & contrast

On white

13.96
#201B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#201B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B7B
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B7B#FFFFFF#000000##FFFFFF
##201B7B1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201b7b;
/* rgb */ color: rgb(32, 27, 123);
/* oklch */ color: oklch(30.8% 0.154 274.8);
Tailwind
colors: {
  custom: {
    50: '#6b59a2',
    500: '#201b7b',
    950: '#000000',
  },
}
SCSS
$custom: #201b7b;
$custom-light: #6b59a2;
$custom-dark: #000000;
JSON
{
  "hex": "#201b7b",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 243.125,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30835,
    "c": 0.15405,
    "h": 274.8
  },
  "luminance": 0.02521
}

Semantic roles & 50–950 ramp

primary
#201B7B
secondary
#A9AF43
accent
#E741DE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #201B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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