#201776#201776

#201776 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.152 H 276.1°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#201776
RGBrgb(32, 23, 118)
HSLhsl(246, 67%, 28%)
HSVhsv(246, 81%, 46%)
CMYKcmyk(72.9%, 80.5%, 0%, 53.7%)
CIE-LABlab(16.64, 35.68, -52.15)
CIE-LCHlch(16.64, 63.18, 304.38°)
OKLaboklab(29.7% 0.0161 -0.1507)
OKLCHoklch(29.7% 0.152 276.1)
XYZxyz(4.1710, 2.2275, 17.3462)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201776 #6D7617
analogous
#173E76 #201776 #4F1776
triadic
#201776 #762017 #177620
tetradic
#201776 #76173E #6D7617 #17764F
square
#201776 #76173E #6D7617 #17764F
split-complementary
#201776 #764F17 #3E7617
monochromatic
#07051A #120D43 #201776 #2E21A9 #4031D7

Accessibility & contrast

On white

14.53
#201776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#201776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201776
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201776#FFFFFF#000000##FFFFFF
##2017761.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #201776;
/* rgb */ color: rgb(32, 23, 118);
/* oklch */ color: oklch(29.7% 0.152 276.1);
Tailwind
colors: {
  custom: {
    50: '#6a569f',
    500: '#201776',
    950: '#000000',
  },
}
SCSS
$custom: #201776;
$custom-light: #6a569f;
$custom-dark: #000000;
JSON
{
  "hex": "#201776",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 245.684,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29699,
    "c": 0.15161,
    "h": 276.1
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#201776
secondary
#A1AB3E
accent
#EA3EDA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #201776

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

Preview Lab → · Contrast checker → · Palette generator →

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