#201FB4#201FB4

#201FB4 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.219 H 269.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#201FB4
RGBrgb(32, 31, 180)
HSLhsl(240, 71%, 41%)
HSVhsv(240, 83%, 71%)
CMYKcmyk(82.2%, 82.8%, 0%, 29.4%)
CIE-LABlab(25.51, 51.67, -75.81)
CIE-LCHlch(25.51, 91.74, 304.28°)
OKLaboklab(38.04% -0.0011 -0.2195)
OKLCHoklch(38.04% 0.219 269.7)
XYZxyz(9.3211, 4.5812, 43.5642)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201FB4 #B3B41F
analogous
#1F69B4 #201FB4 #6B1FB4
triadic
#201FB4 #B4201F #1FB420
tetradic
#201FB4 #B41F69 #B3B41F #1FB46B
square
#201FB4 #B41F69 #B3B41F #1FB46B
split-complementary
#201FB4 #B46B1F #69B41F
monochromatic
#0D0D4C #171680 #201FB4 #3534DC #6968E5

Accessibility & contrast

On white

10.96
#201FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#201FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201FB4
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201FB4#FFFFFF#000000##FFFFFF
##201FB41.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#0034B2
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #201fb4;
/* rgb */ color: rgb(32, 31, 180);
/* oklch */ color: oklch(38.0% 0.219 269.7);
Tailwind
colors: {
  custom: {
    50: '#7a5fcc',
    500: '#201fb4',
    950: '#000000',
  },
}
SCSS
$custom: #201fb4;
$custom-light: #7a5fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#201fb4",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 240.403,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38038,
    "c": 0.21947,
    "h": 269.7
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#201FB4
secondary
#CACB64
accent
#ED3AEC
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #201FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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