#201F50#201F50

#201F50 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.087 H 279.8°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#201F50
RGBrgb(32, 31, 80)
HSLhsl(241, 44%, 22%)
HSVhsv(241, 61%, 31%)
CMYKcmyk(60%, 61.2%, 0%, 68.6%)
CIE-LABlab(14.77, 16.73, -30.07)
CIE-LCHlch(14.77, 34.41, 299.09°)
OKLaboklab(27.2% 0.0148 -0.0861)
OKLCHoklch(27.2% 0.087 279.8)
XYZxyz(2.5332, 1.8661, 7.8146)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F50 #4F501F
analogous
#1F3750 #201F50 #391F50
triadic
#201F50 #50201F #1F5020
tetradic
#201F50 #501F37 #4F501F #1F5039
square
#201F50 #501F37 #4F501F #1F5039
split-complementary
#201F50 #50391F #37501F
monochromatic
#090916 #0E0E24 #201F50 #32307C #4341A8

Accessibility & contrast

On white

15.29
#201F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#201F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F50
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F50#FFFFFF#000000##FFFFFF
##201F501.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012752
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#092A34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201f50;
/* rgb */ color: rgb(32, 31, 80);
/* oklch */ color: oklch(27.2% 0.087 279.8);
Tailwind
colors: {
  custom: {
    50: '#615a81',
    500: '#201f50',
    950: '#000000',
  },
}
SCSS
$custom: #201f50;
$custom-light: #615a81;
$custom-dark: #000000;
JSON
{
  "hex": "#201f50",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 241.224,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27198,
    "c": 0.08737,
    "h": 279.8
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#201F50
secondary
#838546
accent
#D454D1
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #201F50

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

Preview Lab → · Contrast checker → · Palette generator →

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