#201662#201662

#201662 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.126 H 279.9°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#201662
RGBrgb(32, 22, 98)
HSLhsl(248, 63%, 24%)
HSVhsv(248, 78%, 38%)
CMYKcmyk(67.3%, 77.6%, 0%, 61.6%)
CIE-LABlab(14.19, 29.40, -43.12)
CIE-LCHlch(14.19, 52.19, 304.29°)
OKLaboklab(27.3% 0.0218 -0.1244)
OKLCHoklch(27.3% 0.126 279.9)
XYZxyz(3.0865, 1.7625, 11.7305)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201662 #586216
analogous
#163262 #201662 #461662
triadic
#201662 #622016 #166220
tetradic
#201662 #621632 #586216 #166246
square
#201662 #621632 #586216 #166246
split-complementary
#201662 #624616 #326216
monochromatic
#080619 #100B30 #201662 #302194 #412CC6

Accessibility & contrast

On white

15.53
#201662 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#201662 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201662
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201662#FFFFFF#000000##FFFFFF
##2016621.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002764
Deuteranopia (green-blind)
#002161
Tritanopia (blue-blind)
#002B3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #201662;
/* rgb */ color: rgb(32, 22, 98);
/* oklch */ color: oklch(27.3% 0.126 279.9);
Tailwind
colors: {
  custom: {
    50: '#655490',
    500: '#201662',
    950: '#000000',
  },
}
SCSS
$custom: #201662;
$custom-light: #655490;
$custom-dark: #000000;
JSON
{
  "hex": "#201662",
  "rgb": {
    "r": 32,
    "g": 22,
    "b": 98
  },
  "hsl": {
    "h": 247.895,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27302,
    "c": 0.1263,
    "h": 279.9
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#201662
secondary
#8C993B
accent
#E641D1
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201662

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

Preview Lab → · Contrast checker → · Palette generator →

#201662 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva