#201B8F#201B8F

#201B8F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.179 H 272.6°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#201B8F
RGBrgb(32, 27, 143)
HSLhsl(243, 68%, 33%)
HSVhsv(243, 81%, 56%)
CMYKcmyk(77.6%, 81.1%, 0%, 43.9%)
CIE-LABlab(20.34, 41.84, -61.85)
CIE-LCHlch(20.34, 74.67, 304.08°)
OKLaboklab(33.15% 0.0082 -0.179)
OKLCHoklch(33.15% 0.179 272.6)
XYZxyz(5.9439, 3.0735, 26.2613)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B8F #8A8F1B
analogous
#1B508F #201B8F #5A1B8F
triadic
#201B8F #8F201B #1B8F20
tetradic
#201B8F #8F1B50 #8A8F1B #1B8F5A
square
#201B8F #8F1B50 #8A8F1B #1B8F5A
split-complementary
#201B8F #8F5A1B #508F1B
monochromatic
#090828 #14115C #201B8F #2C25C2 #4E48DC

Accessibility & contrast

On white

13.00
#201B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#201B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B8F
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B8F#FFFFFF#000000##FFFFFF
##201B8F1.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #201b8f;
/* rgb */ color: rgb(32, 27, 143);
/* oklch */ color: oklch(33.1% 0.179 272.6);
Tailwind
colors: {
  custom: {
    50: '#705ab1',
    500: '#201b8f',
    950: '#000000',
  },
}
SCSS
$custom: #201b8f;
$custom-light: #705ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#201b8f",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 242.586,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33149,
    "c": 0.17916,
    "h": 272.6
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#201B8F
secondary
#B9BE48
accent
#EB3DE4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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