#201179#201179

#201179 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.161 H 276.4°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#201179
RGBrgb(32, 17, 121)
HSLhsl(249, 75%, 27%)
HSVhsv(249, 86%, 47%)
CMYKcmyk(73.6%, 86%, 0%, 52.5%)
CIE-LABlab(15.94, 39.73, -55.23)
CIE-LCHlch(15.94, 68.03, 305.73°)
OKLaboklab(29.32% 0.0179 -0.1596)
OKLCHoklch(29.32% 0.161 276.4)
XYZxyz(4.2462, 2.0881, 18.2647)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201179 #6A7911
analogous
#113679 #201179 #541179
triadic
#201179 #792011 #117920
tetradic
#201179 #791136 #6A7911 #117954
square
#201179 #791136 #6A7911 #117954
split-complementary
#201179 #795411 #367911
monochromatic
#07041B #120943 #201179 #2E19AF #3F24E0

Accessibility & contrast

On white

14.81
#201179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#201179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201179
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201179#FFFFFF#000000##FFFFFF
##2011791.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7C
Deuteranopia (green-blind)
#002377
Tritanopia (blue-blind)
#003246
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #201179;
/* rgb */ color: rgb(32, 17, 121);
/* oklch */ color: oklch(29.3% 0.161 276.4);
Tailwind
colors: {
  custom: {
    50: '#6c53a1',
    500: '#201179',
    950: '#000000',
  },
}
SCSS
$custom: #201179;
$custom-light: #6c53a1;
$custom-dark: #000000;
JSON
{
  "hex": "#201179",
  "rgb": {
    "r": 32,
    "g": 17,
    "b": 121
  },
  "hsl": {
    "h": 248.654,
    "s": 75.362,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29322,
    "c": 0.16061,
    "h": 276.4
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#201179
secondary
#9EB036
accent
#F236D7
background
#F7F4FA
surface
#EDE7F3
border
#C8C3CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #201179

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

Preview Lab → · Contrast checker → · Palette generator →

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