#201F9B#201F9B

#201F9B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.190 H 271.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#201F9B
RGBrgb(32, 31, 155)
HSLhsl(240, 67%, 36%)
HSVhsv(240, 80%, 61%)
CMYKcmyk(79.4%, 80%, 0%, 39.2%)
CIE-LABlab(22.49, 43.68, -65.69)
CIE-LCHlch(22.49, 78.89, 303.62°)
OKLaboklab(35.07% 0.0042 -0.1902)
OKLCHoklch(35.07% 0.19 271.3)
XYZxyz(7.0000, 3.6528, 31.3401)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F9B #9A9B1F
analogous
#1F5C9B #201F9B #5E1F9B
triadic
#201F9B #9B201F #1F9B20
tetradic
#201F9B #9B1F5C #9A9B1F #1F9B5E
square
#201F9B #9B1F5C #9A9B1F #1F9B5E
split-complementary
#201F9B #9B5E1F #5C9B1F
monochromatic
#0B0B35 #151568 #201F9B #2B29CE #5857DD

Accessibility & contrast

On white

12.13
#201F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#201F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F9B
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F9B#FFFFFF#000000##FFFFFF
##201F9B1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9E
Deuteranopia (green-blind)
#002F99
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #201f9b;
/* rgb */ color: rgb(32, 31, 155);
/* oklch */ color: oklch(35.1% 0.190 271.3);
Tailwind
colors: {
  custom: {
    50: '#735dba',
    500: '#201f9b',
    950: '#000000',
  },
}
SCSS
$custom: #201f9b;
$custom-light: #735dba;
$custom-dark: #000000;
JSON
{
  "hex": "#201f9b",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 240.484,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35068,
    "c": 0.19023,
    "h": 271.3
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#201F9B
secondary
#C0C155
accent
#EA3EE8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #201F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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