#201174#201174

#201174 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.154 H 277.3°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#201174
RGBrgb(32, 17, 116)
HSLhsl(249, 74%, 26%)
HSVhsv(249, 85%, 45%)
CMYKcmyk(72.4%, 85.3%, 0%, 54.5%)
CIE-LABlab(15.32, 38.15, -53.04)
CIE-LCHlch(15.32, 65.33, 305.73°)
OKLaboklab(28.71% 0.0196 -0.1532)
OKLCHoklch(28.71% 0.154 277.3)
XYZxyz(3.9475, 1.9686, 16.6916)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201174 #657411
analogous
#113374 #201174 #511174
triadic
#201174 #742011 #117420
tetradic
#201174 #741133 #657411 #117451
square
#201174 #741133 #657411 #117451
split-complementary
#201174 #745111 #337411
monochromatic
#07041B #11093F #201174 #2F19A9 #3E21DE

Accessibility & contrast

On white

15.07
#201174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201174
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201174#FFFFFF#000000##FFFFFF
##2011741.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #201174;
/* rgb */ color: rgb(32, 17, 116);
/* oklch */ color: oklch(28.7% 0.154 277.3);
Tailwind
colors: {
  custom: {
    50: '#6a539d',
    500: '#201174',
    950: '#000000',
  },
}
SCSS
$custom: #201174;
$custom-light: #6a539d;
$custom-dark: #000000;
JSON
{
  "hex": "#201174",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 249.091,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28713,
    "c": 0.15448,
    "h": 277.3
  },
  "luminance": 0.01969
}

Semantic roles & 50–950 ramp

primary
#201174
secondary
#99AB36
accent
#F137D5
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #201174

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

Preview Lab → · Contrast checker → · Palette generator →

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