#201D78#201D78

#201D78 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.148 H 274.8°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#201D78
RGBrgb(32, 29, 120)
HSLhsl(242, 61%, 29%)
HSVhsv(242, 76%, 47%)
CMYKcmyk(73.3%, 75.8%, 0%, 52.9%)
CIE-LABlab(18.10, 32.86, -51.01)
CIE-LCHlch(18.10, 60.68, 302.78°)
OKLaboklab(30.8% 0.0123 -0.1475)
OKLCHoklch(30.8% 0.148 274.8)
XYZxyz(4.4241, 2.5414, 18.0231)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D78 #75781D
analogous
#1D4878 #201D78 #4E1D78
triadic
#201D78 #78201D #1D7820
tetradic
#201D78 #781D48 #75781D #1D784E
square
#201D78 #781D48 #75781D #1D784E
split-complementary
#201D78 #784E1D #48781D
monochromatic
#070619 #131147 #201D78 #2D29A9 #443FD1

Accessibility & contrast

On white

13.92
#201D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201D78
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D78#FFFFFF#000000##FFFFFF
##201D781.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307B
Deuteranopia (green-blind)
#002876
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #201d78;
/* rgb */ color: rgb(32, 29, 120);
/* oklch */ color: oklch(30.8% 0.148 274.8);
Tailwind
colors: {
  custom: {
    50: '#6a5aa0',
    500: '#201d78',
    950: '#000000',
  },
}
SCSS
$custom: #201d78;
$custom-light: #6a5aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#201d78",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 241.978,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30802,
    "c": 0.148,
    "h": 274.8
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#201D78
secondary
#A8AC45
accent
#E444DF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #201D78

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

Preview Lab → · Contrast checker → · Palette generator →

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