#201B74#201B74

#201B74 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.145 H 275.7°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#201B74
RGBrgb(32, 27, 116)
HSLhsl(243, 62%, 28%)
HSVhsv(243, 77%, 45%)
CMYKcmyk(72.4%, 76.7%, 0%, 54.5%)
CIE-LABlab(17.23, 32.66, -49.88)
CIE-LCHlch(17.23, 59.62, 303.22°)
OKLaboklab(30.05% 0.0143 -0.1442)
OKLCHoklch(30.05% 0.145 275.7)
XYZxyz(4.1389, 2.3515, 16.7554)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201B74 #6F741B
analogous
#1B4274 #201B74 #4C1B74
triadic
#201B74 #74201B #1B7420
tetradic
#201B74 #741B42 #6F741B #1B744C
square
#201B74 #741B42 #6F741B #1B744C
split-complementary
#201B74 #744C1B #42741B
monochromatic
#070619 #120F42 #201B74 #2E27A6 #4139D1

Accessibility & contrast

On white

14.28
#201B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#201B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201B74
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201B74#FFFFFF#000000##FFFFFF
##201B741.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002672
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #201b74;
/* rgb */ color: rgb(32, 27, 116);
/* oklch */ color: oklch(30.1% 0.145 275.7);
Tailwind
colors: {
  custom: {
    50: '#69599d',
    500: '#201b74',
    950: '#000000',
  },
}
SCSS
$custom: #201b74;
$custom-light: #69599d;
$custom-dark: #000000;
JSON
{
  "hex": "#201b74",
  "rgb": {
    "r": 32,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 243.371,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30052,
    "c": 0.14488,
    "h": 275.7
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#201B74
secondary
#A3A942
accent
#E542DC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201B74

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

Preview Lab → · Contrast checker → · Palette generator →

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