#201FA9#201FA9

#201FA9 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.7% C 0.207 H 270.3°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#201FA9
RGBrgb(32, 31, 169)
HSLhsl(240, 69%, 39%)
HSVhsv(240, 82%, 66%)
CMYKcmyk(81.1%, 81.7%, 0%, 33.7%)
CIE-LABlab(24.16, 48.22, -71.43)
CIE-LCHlch(24.16, 86.18, 304.02°)
OKLaboklab(36.72% 0.0012 -0.2068)
OKLCHoklch(36.72% 0.207 270.3)
XYZxyz(8.2447, 4.1507, 37.8951)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201FA9 #A8A91F
analogous
#1F63A9 #201FA9 #651FA9
triadic
#201FA9 #A9201F #1FA920
tetradic
#201FA9 #A91F63 #A8A91F #1FA965
square
#201FA9 #A91F63 #A8A91F #1FA965
split-complementary
#201FA9 #A9651F #63A91F
monochromatic
#0C0C42 #161675 #201FA9 #2E2DD8 #6160E2

Accessibility & contrast

On white

11.47
#201FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#201FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201FA9
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201FA9#FFFFFF#000000##FFFFFF
##201FA91.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AD
Deuteranopia (green-blind)
#0032A7
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #201fa9;
/* rgb */ color: rgb(32, 31, 169);
/* oklch */ color: oklch(36.7% 0.207 270.3);
Tailwind
colors: {
  custom: {
    50: '#775ec4',
    500: '#201fa9',
    950: '#000000',
  },
}
SCSS
$custom: #201fa9;
$custom-light: #775ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#201fa9",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 240.435,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.36721,
    "c": 0.20681,
    "h": 270.3
  },
  "luminance": 0.04152
}

Semantic roles & 50–950 ramp

primary
#201FA9
secondary
#C6C75D
accent
#EC3CEB
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #201FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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