#201F5B#201F5B

#201F5B is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.2% C 0.104 H 278.1°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#201F5B
RGBrgb(32, 31, 91)
HSLhsl(241, 49%, 24%)
HSVhsv(241, 66%, 36%)
CMYKcmyk(64.8%, 65.9%, 0%, 64.3%)
CIE-LABlab(15.71, 20.88, -35.97)
CIE-LCHlch(15.71, 41.59, 300.13°)
OKLaboklab(28.19% 0.0147 -0.1034)
OKLCHoklch(28.19% 0.104 278.1)
XYZxyz(2.9734, 2.0422, 10.1330)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F5B #5A5B1F
analogous
#1F3C5B #201F5B #3E1F5B
triadic
#201F5B #5B201F #1F5B20
tetradic
#201F5B #5B1F3C #5A5B1F #1F5B3E
square
#201F5B #5B1F3C #5A5B1F #1F5B3E
split-complementary
#201F5B #5B3E1F #3C5B1F
monochromatic
#080817 #100F2D #201F5B #302F89 #403EB6

Accessibility & contrast

On white

14.91
#201F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#201F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F5B
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F5B#FFFFFF#000000##FFFFFF
##201F5B1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #201f5b;
/* rgb */ color: rgb(32, 31, 91);
/* oklch */ color: oklch(28.2% 0.104 278.1);
Tailwind
colors: {
  custom: {
    50: '#635a8a',
    500: '#201f5b',
    950: '#000000',
  },
}
SCSS
$custom: #201f5b;
$custom-light: #635a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#201f5b",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 241,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28187,
    "c": 0.10448,
    "h": 278.1
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#201F5B
secondary
#8E9046
accent
#D94FD6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #201F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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