#201F5C#201F5C

#201F5C is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.106 H 277.9°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#201F5C
RGBrgb(32, 31, 92)
HSLhsl(241, 50%, 24%)
HSVhsv(241, 66%, 36%)
CMYKcmyk(65.2%, 66.3%, 0%, 63.9%)
CIE-LABlab(15.80, 21.26, -36.49)
CIE-LCHlch(15.80, 42.23, 300.22°)
OKLaboklab(28.28% 0.0146 -0.105)
OKLCHoklch(28.28% 0.106 277.9)
XYZxyz(3.0168, 2.0595, 10.3617)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F5C #5B5C1F
analogous
#1F3D5C #201F5C #3F1F5C
triadic
#201F5C #5C201F #1F5C20
tetradic
#201F5C #5C1F3D #5B5C1F #1F5C3F
square
#201F5C #5C1F3D #5B5C1F #1F5C3F
split-complementary
#201F5C #5C3F1F #3D5C1F
monochromatic
#080817 #10102E #201F5C #302E8A #403EB8

Accessibility & contrast

On white

14.87
#201F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201F5C
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F5C#FFFFFF#000000##FFFFFF
##201F5C1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#00255B
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #201f5c;
/* rgb */ color: rgb(32, 31, 92);
/* oklch */ color: oklch(28.3% 0.106 277.9);
Tailwind
colors: {
  custom: {
    50: '#635a8b',
    500: '#201f5c',
    950: '#000000',
  },
}
SCSS
$custom: #201f5c;
$custom-light: #635a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#201f5c",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 240.984,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28281,
    "c": 0.10599,
    "h": 277.9
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#201F5C
secondary
#8F9146
accent
#D94FD7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #201F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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