#201F56#201F56

#201F56 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.097 H 278.8°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#201F56
RGBrgb(32, 31, 86)
HSLhsl(241, 47%, 23%)
HSVhsv(241, 64%, 34%)
CMYKcmyk(62.8%, 64%, 0%, 66.3%)
CIE-LABlab(15.27, 18.99, -33.32)
CIE-LCHlch(15.27, 38.35, 299.68°)
OKLaboklab(27.73% 0.0148 -0.0957)
OKLCHoklch(27.73% 0.097 278.8)
XYZxyz(2.7648, 1.9587, 9.0347)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F56 #55561F
analogous
#1F3956 #201F56 #3B1F56
triadic
#201F56 #56201F #1F5620
tetradic
#201F56 #561F39 #55561F #1F563B
square
#201F56 #561F39 #55561F #1F563B
split-complementary
#201F56 #563B1F #39561F
monochromatic
#080816 #0F0F29 #201F56 #312F83 #413FB0

Accessibility & contrast

On white

15.09
#201F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#201F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F56
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F56#FFFFFF#000000##FFFFFF
##201F561.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#012C37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #201f56;
/* rgb */ color: rgb(32, 31, 86);
/* oklch */ color: oklch(27.7% 0.097 278.8);
Tailwind
colors: {
  custom: {
    50: '#625a86',
    500: '#201f56',
    950: '#000000',
  },
}
SCSS
$custom: #201f56;
$custom-light: #625a86;
$custom-dark: #000000;
JSON
{
  "hex": "#201f56",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 241.091,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27727,
    "c": 0.09681,
    "h": 278.8
  },
  "luminance": 0.01959
}

Semantic roles & 50–950 ramp

primary
#201F56
secondary
#8A8B46
accent
#D751D4
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040B
muted
#7A797C

Preview Lab

Preview with #201F56

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

Preview Lab → · Contrast checker → · Palette generator →

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