#201FA1#201FA1

#201FA1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.197 H 270.8°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#201FA1
RGBrgb(32, 31, 161)
HSLhsl(240, 68%, 38%)
HSVhsv(240, 81%, 63%)
CMYKcmyk(80.1%, 80.7%, 0%, 36.9%)
CIE-LABlab(23.20, 45.65, -68.18)
CIE-LCHlch(23.20, 82.05, 303.80°)
OKLaboklab(35.77% 0.0029 -0.1974)
OKLCHoklch(35.77% 0.197 270.8)
XYZxyz(7.5165, 3.8594, 34.0601)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201FA1 #A0A11F
analogous
#1F5FA1 #201FA1 #611FA1
triadic
#201FA1 #A1201F #1FA120
tetradic
#201FA1 #A11F5F #A0A11F #1FA161
square
#201FA1 #A11F5F #A0A11F #1FA161
split-complementary
#201FA1 #A1611F #5FA11F
monochromatic
#0C0B3A #16156E #201FA1 #2A29D4 #5C5BDF

Accessibility & contrast

On white

11.85
#201FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#201FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201FA1
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201FA1#FFFFFF#000000##FFFFFF
##201FA11.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #201fa1;
/* rgb */ color: rgb(32, 31, 161);
/* oklch */ color: oklch(35.8% 0.197 270.8);
Tailwind
colors: {
  custom: {
    50: '#755ebe',
    500: '#201fa1',
    950: '#000000',
  },
}
SCSS
$custom: #201fa1;
$custom-light: #755ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#201fa1",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 240.462,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.35773,
    "c": 0.19741,
    "h": 270.8
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#201FA1
secondary
#C3C458
accent
#EB3DE9
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #201FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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