#201778#201778

#201778 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.154 H 275.8°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#201778
RGBrgb(32, 23, 120)
HSLhsl(246, 68%, 28%)
HSVhsv(246, 81%, 47%)
CMYKcmyk(73.3%, 80.8%, 0%, 52.9%)
CIE-LABlab(16.87, 36.35, -53.05)
CIE-LCHlch(16.87, 64.31, 304.42°)
OKLaboklab(29.93% 0.0156 -0.1534)
OKLCHoklch(29.93% 0.154 275.8)
XYZxyz(4.2911, 2.2755, 17.9787)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201778 #6F7817
analogous
#173E78 #201778 #501778
triadic
#201778 #782017 #177820
tetradic
#201778 #78173E #6F7817 #177850
square
#201778 #78173E #6F7817 #177850
split-complementary
#201778 #785017 #3E7817
monochromatic
#07051A #120D45 #201778 #2E21AB #4132D8

Accessibility & contrast

On white

14.43
#201778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#201778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201778
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201778#FFFFFF#000000##FFFFFF
##2017781.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002576
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #201778;
/* rgb */ color: rgb(32, 23, 120);
/* oklch */ color: oklch(29.9% 0.154 275.8);
Tailwind
colors: {
  custom: {
    50: '#6b56a0',
    500: '#201778',
    950: '#000000',
  },
}
SCSS
$custom: #201778;
$custom-light: #6b56a0;
$custom-dark: #000000;
JSON
{
  "hex": "#201778",
  "rgb": {
    "r": 32,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 245.567,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29931,
    "c": 0.15415,
    "h": 275.8
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#201778
secondary
#A3AD3E
accent
#EB3DDB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #201778

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

Preview Lab → · Contrast checker → · Palette generator →

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