#201173#201173

#201173 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.6% C 0.153 H 277.5°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#201173
RGBrgb(32, 17, 115)
HSLhsl(249, 74%, 26%)
HSVhsv(249, 85%, 45%)
CMYKcmyk(72.2%, 85.2%, 0%, 54.9%)
CIE-LABlab(15.20, 37.83, -52.59)
CIE-LCHlch(15.20, 64.79, 305.73°)
OKLaboklab(28.59% 0.0199 -0.1519)
OKLCHoklch(28.59% 0.153 277.5)
XYZxyz(3.8896, 1.9454, 16.3869)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201173 #647311
analogous
#113373 #201173 #511173
triadic
#201173 #732011 #117320
tetradic
#201173 #731133 #647311 #117351
square
#201173 #731133 #647311 #117351
split-complementary
#201173 #735111 #337311
monochromatic
#07041B #11093E #201173 #2F19A8 #3E21DE

Accessibility & contrast

On white

15.12
#201173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#201173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201173
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201173#FFFFFF#000000##FFFFFF
##2011731.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #201173;
/* rgb */ color: rgb(32, 17, 115);
/* oklch */ color: oklch(28.6% 0.153 277.5);
Tailwind
colors: {
  custom: {
    50: '#6a539c',
    500: '#201173',
    950: '#000000',
  },
}
SCSS
$custom: #201173;
$custom-light: #6a539c;
$custom-dark: #000000;
JSON
{
  "hex": "#201173",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 249.184,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28592,
    "c": 0.15324,
    "h": 277.5
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#201173
secondary
#98AA36
accent
#F137D4
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #201173

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

Preview Lab → · Contrast checker → · Palette generator →

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