#201768#201768

#201768 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.133 H 278.5°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#201768
RGBrgb(32, 23, 104)
HSLhsl(247, 64%, 25%)
HSVhsv(247, 78%, 41%)
CMYKcmyk(69.2%, 77.9%, 0%, 59.2%)
CIE-LABlab(15.06, 30.88, -45.65)
CIE-LCHlch(15.06, 55.11, 304.08°)
OKLaboklab(28.11% 0.0196 -0.1318)
OKLCHoklch(28.11% 0.133 278.5)
XYZxyz(3.3999, 1.9191, 13.2853)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201768 #5F6817
analogous
#173668 #201768 #491768
triadic
#201768 #682017 #176820
tetradic
#201768 #681736 #5F6817 #176849
square
#201768 #681736 #5F6817 #176849
split-complementary
#201768 #684917 #366817
monochromatic
#080619 #110C36 #201768 #2F229A #3F2DCC

Accessibility & contrast

On white

15.18
#201768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201768
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201768#FFFFFF#000000##FFFFFF
##2017681.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002267
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #201768;
/* rgb */ color: rgb(32, 23, 104);
/* oklch */ color: oklch(28.1% 0.133 278.5);
Tailwind
colors: {
  custom: {
    50: '#675594',
    500: '#201768',
    950: '#000000',
  },
}
SCSS
$custom: #201768;
$custom-light: #675594;
$custom-dark: #000000;
JSON
{
  "hex": "#201768",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 246.667,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28114,
    "c": 0.13327,
    "h": 278.5
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#201768
secondary
#939E3D
accent
#E741D4
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #201768

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

Preview Lab → · Contrast checker → · Palette generator →

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