#201F5F#201F5F

#201F5F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.6% C 0.110 H 277.5°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#201F5F
RGBrgb(32, 31, 95)
HSLhsl(241, 51%, 25%)
HSVhsv(241, 67%, 37%)
CMYKcmyk(66.3%, 67.4%, 0%, 62.7%)
CIE-LABlab(16.07, 22.38, -38.04)
CIE-LCHlch(16.07, 44.14, 300.47°)
OKLaboklab(28.57% 0.0144 -0.1095)
OKLCHoklch(28.57% 0.11 277.5)
XYZxyz(3.1505, 2.1130, 11.0661)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F5F #5E5F1F
analogous
#1F3E5F #201F5F #401F5F
triadic
#201F5F #5F201F #1F5F20
tetradic
#201F5F #5F1F3E #5E5F1F #1F5F40
square
#201F5F #5F1F3E #5E5F1F #1F5F40
split-complementary
#201F5F #5F401F #3E5F1F
monochromatic
#080817 #101031 #201F5F #302E8D #3F3DBB

Accessibility & contrast

On white

14.76
#201F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#201F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F5F
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F5F#FFFFFF#000000##FFFFFF
##201F5F1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #201f5f;
/* rgb */ color: rgb(32, 31, 95);
/* oklch */ color: oklch(28.6% 0.110 277.5);
Tailwind
colors: {
  custom: {
    50: '#645b8d',
    500: '#201f5f',
    950: '#000000',
  },
}
SCSS
$custom: #201f5f;
$custom-light: #645b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#201f5f",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 240.938,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28566,
    "c": 0.11048,
    "h": 277.5
  },
  "luminance": 0.02113
}

Semantic roles & 50–950 ramp

primary
#201F5F
secondary
#929446
accent
#DA4ED8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #201F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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