#201F5E#201F5E

#201F5E is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.109 H 277.6°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#201F5E
RGBrgb(32, 31, 94)
HSLhsl(241, 50%, 25%)
HSVhsv(241, 67%, 37%)
CMYKcmyk(66%, 67%, 0%, 63.1%)
CIE-LABlab(15.98, 22.01, -37.53)
CIE-LCHlch(15.98, 43.50, 300.39°)
OKLaboklab(28.47% 0.0145 -0.108)
OKLCHoklch(28.47% 0.109 277.6)
XYZxyz(3.1054, 2.0950, 10.8282)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F5E #5D5E1F
analogous
#1F3E5E #201F5E #401F5E
triadic
#201F5E #5E201F #1F5E20
tetradic
#201F5E #5E1F3E #5D5E1F #1F5E40
square
#201F5E #5E1F3E #5D5E1F #1F5E40
split-complementary
#201F5E #5E401F #3E5E1F
monochromatic
#080817 #101030 #201F5E #302E8C #3F3DBA

Accessibility & contrast

On white

14.80
#201F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201F5E
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F5E#FFFFFF#000000##FFFFFF
##201F5E1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201f5e;
/* rgb */ color: rgb(32, 31, 94);
/* oklch */ color: oklch(28.5% 0.109 277.6);
Tailwind
colors: {
  custom: {
    50: '#645a8c',
    500: '#201f5e',
    950: '#000000',
  },
}
SCSS
$custom: #201f5e;
$custom-light: #645a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#201f5e",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 240.952,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28471,
    "c": 0.10899,
    "h": 277.6
  },
  "luminance": 0.02095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #201F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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