#201D79#201D79

#201D79 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.149 H 274.7°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#201D79
RGBrgb(32, 29, 121)
HSLhsl(242, 61%, 29%)
HSVhsv(242, 76%, 47%)
CMYKcmyk(73.6%, 76%, 0%, 52.5%)
CIE-LABlab(18.21, 33.21, -51.47)
CIE-LCHlch(18.21, 61.25, 302.83°)
OKLaboklab(30.91% 0.0121 -0.1488)
OKLCHoklch(30.91% 0.149 274.7)
XYZxyz(4.4851, 2.5659, 18.3443)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D79 #76791D
analogous
#1D4879 #201D79 #4E1D79
triadic
#201D79 #79201D #1D7920
tetradic
#201D79 #791D48 #76791D #1D794E
square
#201D79 #791D48 #76791D #1D794E
split-complementary
#201D79 #794E1D #48791D
monochromatic
#070619 #131148 #201D79 #2D29AA #443FD1

Accessibility & contrast

On white

13.88
#201D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#201D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201D79
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D79#FFFFFF#000000##FFFFFF
##201D791.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201d79;
/* rgb */ color: rgb(32, 29, 121);
/* oklch */ color: oklch(30.9% 0.149 274.7);
Tailwind
colors: {
  custom: {
    50: '#6a5aa1',
    500: '#201d79',
    950: '#000000',
  },
}
SCSS
$custom: #201d79;
$custom-light: #6a5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#201d79",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 241.957,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.30912,
    "c": 0.14933,
    "h": 274.7
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#201D79
secondary
#A9AD45
accent
#E443DF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #201D79

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

Preview Lab → · Contrast checker → · Palette generator →

#201D79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva