#201772#201772

#201772 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.146 H 276.7°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#201772
RGBrgb(32, 23, 114)
HSLhsl(246, 66%, 27%)
HSVhsv(246, 80%, 45%)
CMYKcmyk(71.9%, 79.8%, 0%, 55.3%)
CIE-LABlab(16.18, 34.32, -50.33)
CIE-LCHlch(16.18, 60.92, 304.29°)
OKLaboklab(29.24% 0.0172 -0.1454)
OKLCHoklch(29.24% 0.146 276.7)
XYZxyz(3.9383, 2.1344, 16.1208)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201772 #697217
analogous
#173C72 #201772 #4E1772
triadic
#201772 #722017 #177220
tetradic
#201772 #72173C #697217 #17724E
square
#201772 #72173C #697217 #17724E
split-complementary
#201772 #724E17 #3C7217
monochromatic
#070519 #120D3F #201772 #2E21A5 #3F2ED5

Accessibility & contrast

On white

14.72
#201772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#201772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201772
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201772#FFFFFF#000000##FFFFFF
##2017721.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #201772;
/* rgb */ color: rgb(32, 23, 114);
/* oklch */ color: oklch(29.2% 0.146 276.7);
Tailwind
colors: {
  custom: {
    50: '#69569c',
    500: '#201772',
    950: '#000000',
  },
}
SCSS
$custom: #201772;
$custom-light: #69569c;
$custom-dark: #000000;
JSON
{
  "hex": "#201772",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 245.934,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29239,
    "c": 0.14646,
    "h": 276.7
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#201772
secondary
#9DA83D
accent
#E93ED8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201772

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

Preview Lab → · Contrast checker → · Palette generator →

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