#201F62#201F62

#201F62 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.115 H 277.1°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#201F62
RGBrgb(32, 31, 98)
HSLhsl(241, 52%, 25%)
HSVhsv(241, 68%, 38%)
CMYKcmyk(67.3%, 68.4%, 0%, 61.6%)
CIE-LABlab(16.35, 23.51, -39.58)
CIE-LCHlch(16.35, 46.03, 300.71°)
OKLaboklab(28.86% 0.0141 -0.114)
OKLCHoklch(28.86% 0.115 277.1)
XYZxyz(3.2895, 2.1686, 11.7981)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201F62 #61621F
analogous
#1F3F62 #201F62 #421F62
triadic
#201F62 #62201F #1F6220
tetradic
#201F62 #621F3F #61621F #1F6242
square
#201F62 #621F3F #61621F #1F6242
split-complementary
#201F62 #62421F #3F621F
monochromatic
#080717 #111034 #201F62 #2F2E90 #3E3CBF

Accessibility & contrast

On white

14.65
#201F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#201F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201F62
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201F62#FFFFFF#000000##FFFFFF
##201F621.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#00303D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #201f62;
/* rgb */ color: rgb(32, 31, 98);
/* oklch */ color: oklch(28.9% 0.115 277.1);
Tailwind
colors: {
  custom: {
    50: '#655b8f',
    500: '#201f62',
    950: '#000000',
  },
}
SCSS
$custom: #201f62;
$custom-light: #655b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#201f62",
  "rgb": {
    "r": 32,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 240.896,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28857,
    "c": 0.11491,
    "h": 277.1
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#201F62
secondary
#959746
accent
#DB4CD9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #201F62

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

Preview Lab → · Contrast checker → · Palette generator →

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