#201BA8#201BA8

#201BA8 is a dark, highly saturated blue. Relative luminance 0.039; OKLCH L 36.2% C 0.209 H 270.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#201BA8
RGBrgb(32, 27, 168)
HSLhsl(242, 72%, 38%)
HSVhsv(242, 84%, 66%)
CMYKcmyk(81%, 83.9%, 0%, 34.1%)
CIE-LABlab(23.40, 49.80, -72.11)
CIE-LCHlch(23.40, 87.63, 304.63°)
OKLaboklab(36.15% 0.0023 -0.2087)
OKLCHoklch(36.15% 0.209 270.6)
XYZxyz(8.0531, 3.9172, 37.3699)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201BA8 #A3A81B
analogous
#1B5CA8 #201BA8 #671BA8
triadic
#201BA8 #A8201B #1BA820
tetradic
#201BA8 #A81B5C #A3A81B #1BA867
square
#201BA8 #A81B5C #A3A81B #1BA867
split-complementary
#201BA8 #A8671B #5CA81B
monochromatic
#0C0A3F #161373 #201BA8 #2B24DC #5E59E4

Accessibility & contrast

On white

11.77
#201BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#201BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201BA8
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201BA8#FFFFFF#000000##FFFFFF
##201BA81.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAC
Deuteranopia (green-blind)
#0030A6
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #201ba8;
/* rgb */ color: rgb(32, 27, 168);
/* oklch */ color: oklch(36.2% 0.209 270.6);
Tailwind
colors: {
  custom: {
    50: '#775cc3',
    500: '#201ba8',
    950: '#000000',
  },
}
SCSS
$custom: #201ba8;
$custom-light: #775cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#201ba8",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 168
  },
  "hsl": {
    "h": 242.128,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36154,
    "c": 0.20869,
    "h": 270.6
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#201BA8
secondary
#C4C857
accent
#EF39E9
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #201BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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