#201666#201666

#201666 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.132 H 279.1°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#201666
RGBrgb(32, 22, 102)
HSLhsl(248, 65%, 24%)
HSVhsv(248, 78%, 40%)
CMYKcmyk(68.6%, 78.4%, 0%, 60%)
CIE-LABlab(14.62, 30.79, -45.05)
CIE-LCHlch(14.62, 54.56, 304.35°)
OKLaboklab(27.74% 0.0208 -0.13)
OKLCHoklch(27.74% 0.132 279.1)
XYZxyz(3.2801, 1.8399, 12.7501)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201666 #5C6616
analogous
#163466 #201666 #481666
triadic
#201666 #662016 #166620
tetradic
#201666 #661634 #5C6616 #166648
square
#201666 #661634 #5C6616 #166648
split-complementary
#201666 #664816 #346616
monochromatic
#080519 #100B34 #201666 #302198 #402CCB

Accessibility & contrast

On white

15.35
#201666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#201666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201666
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201666#FFFFFF#000000##FFFFFF
##2016661.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002868
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201666;
/* rgb */ color: rgb(32, 22, 102);
/* oklch */ color: oklch(27.7% 0.132 279.1);
Tailwind
colors: {
  custom: {
    50: '#665593',
    500: '#201666',
    950: '#000000',
  },
}
SCSS
$custom: #201666;
$custom-light: #665593;
$custom-dark: #000000;
JSON
{
  "hex": "#201666",
  "rgb": {
    "r": 32,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 247.5,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27742,
    "c": 0.1317,
    "h": 279.1
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#201666
secondary
#909D3B
accent
#E840D3
background
#F6F5F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #201666

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

Preview Lab → · Contrast checker → · Palette generator →

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