#201AB2#201AB2

#201AB2 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.3% C 0.221 H 270.0°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#201AB2
RGBrgb(32, 26, 178)
HSLhsl(242, 75%, 40%)
HSVhsv(242, 85%, 70%)
CMYKcmyk(82%, 85.4%, 0%, 30.2%)
CIE-LABlab(24.51, 53.27, -76.27)
CIE-LCHlch(24.51, 93.03, 304.93°)
OKLaboklab(37.28% 0.0001 -0.2207)
OKLCHoklch(37.28% 0.221 270)
XYZxyz(8.9982, 4.2592, 42.4587)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201AB2 #ACB21A
analogous
#1A60B2 #201AB2 #6C1AB2
triadic
#201AB2 #B2201A #1AB220
tetradic
#201AB2 #B21A60 #ACB21A #1AB26C
square
#201AB2 #B21A60 #ACB21A #1AB26C
split-complementary
#201AB2 #B26C1A #60B21A
monochromatic
#0D0A47 #16127D #201AB2 #3129E0 #645FE8

Accessibility & contrast

On white

11.34
#201AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#201AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201AB2
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201AB2#FFFFFF#000000##FFFFFF
##201AB21.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B6
Deuteranopia (green-blind)
#0032B0
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #201ab2;
/* rgb */ color: rgb(32, 26, 178);
/* oklch */ color: oklch(37.3% 0.221 270.0);
Tailwind
colors: {
  custom: {
    50: '#795dcb',
    500: '#201ab2',
    950: '#000000',
  },
}
SCSS
$custom: #201ab2;
$custom-light: #795dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#201ab2",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 178
  },
  "hsl": {
    "h": 242.368,
    "s": 74.51,
    "l": 40
  },
  "oklch": {
    "l": 0.3728,
    "c": 0.2207,
    "h": 270
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#201AB2
secondary
#C7CC5C
accent
#F137EA
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #201AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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