#201766#201766

#201766 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.131 H 278.9°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#201766
RGBrgb(32, 23, 102)
HSLhsl(247, 63%, 25%)
HSVhsv(247, 77%, 40%)
CMYKcmyk(68.6%, 77.5%, 0%, 60%)
CIE-LABlab(14.84, 30.18, -44.69)
CIE-LCHlch(14.84, 53.93, 304.03°)
OKLaboklab(27.89% 0.0201 -0.129)
OKLCHoklch(27.89% 0.131 278.9)
XYZxyz(3.2996, 1.8789, 12.7566)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201766 #5D6617
analogous
#173666 #201766 #471766
triadic
#201766 #662017 #176620
tetradic
#201766 #661736 #5D6617 #176647
square
#201766 #661736 #5D6617 #176647
split-complementary
#201766 #664717 #366617
monochromatic
#080619 #100C34 #201766 #302298 #3F2ECA

Accessibility & contrast

On white

15.26
#201766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#201766 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201766
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201766#FFFFFF#000000##FFFFFF
##2017661.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.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: #201766;
/* rgb */ color: rgb(32, 23, 102);
/* oklch */ color: oklch(27.9% 0.131 278.9);
Tailwind
colors: {
  custom: {
    50: '#665593',
    500: '#201766',
    950: '#000000',
  },
}
SCSS
$custom: #201766;
$custom-light: #665593;
$custom-dark: #000000;
JSON
{
  "hex": "#201766",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 246.835,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27894,
    "c": 0.13057,
    "h": 278.9
  },
  "luminance": 0.01879
}

Semantic roles & 50–950 ramp

primary
#201766
secondary
#919C3C
accent
#E642D3
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #201766

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

Preview Lab → · Contrast checker → · Palette generator →

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