#201D74#201D74

#201D74 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.143 H 275.3°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#201D74
RGBrgb(32, 29, 116)
HSLhsl(242, 60%, 28%)
HSVhsv(242, 75%, 45%)
CMYKcmyk(72.4%, 75%, 0%, 54.5%)
CIE-LABlab(17.67, 31.43, -49.15)
CIE-LCHlch(17.67, 58.34, 302.60°)
OKLaboklab(30.37% 0.0131 -0.1421)
OKLCHoklch(30.37% 0.143 275.3)
XYZxyz(4.1864, 2.4464, 16.7712)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201D74 #71741D
analogous
#1D4574 #201D74 #4B1D74
triadic
#201D74 #74201D #1D7420
tetradic
#201D74 #741D45 #71741D #1D744B
square
#201D74 #741D45 #71741D #1D744B
split-complementary
#201D74 #744B1D #45741D
monochromatic
#070618 #121143 #201D74 #2E29A5 #423DCE

Accessibility & contrast

On white

14.10
#201D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#201D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201D74
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201D74#FFFFFF#000000##FFFFFF
##201D741.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002772
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #201d74;
/* rgb */ color: rgb(32, 29, 116);
/* oklch */ color: oklch(30.4% 0.143 275.3);
Tailwind
colors: {
  custom: {
    50: '#695a9d',
    500: '#201d74',
    950: '#000000',
  },
}
SCSS
$custom: #201d74;
$custom-light: #695a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#201d74",
  "rgb": {
    "r": 32,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 242.069,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30366,
    "c": 0.14266,
    "h": 275.3
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#201D74
secondary
#A5A845
accent
#E345DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #201D74

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

Preview Lab → · Contrast checker → · Palette generator →

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