#201A74#201A74

#201A74 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.146 H 275.9°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#201A74
RGBrgb(32, 26, 116)
HSLhsl(244, 63%, 28%)
HSVhsv(244, 78%, 45%)
CMYKcmyk(72.4%, 77.6%, 0%, 54.5%)
CIE-LABlab(17.02, 33.26, -50.23)
CIE-LCHlch(17.02, 60.24, 303.51°)
OKLaboklab(29.9% 0.0149 -0.1452)
OKLCHoklch(29.9% 0.146 275.9)
XYZxyz(4.1164, 2.3064, 16.7479)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A74 #6E741A
analogous
#1A4174 #201A74 #4D1A74
triadic
#201A74 #74201A #1A7420
tetradic
#201A74 #741A41 #6E741A #1A744D
square
#201A74 #741A41 #6E741A #1A744D
split-complementary
#201A74 #744D1A #41741A
monochromatic
#070619 #120F42 #201A74 #2E25A6 #4136D2

Accessibility & contrast

On white

14.37
#201A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#201A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A74
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A74#FFFFFF#000000##FFFFFF
##201A741.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201a74;
/* rgb */ color: rgb(32, 26, 116);
/* oklch */ color: oklch(29.9% 0.146 275.9);
Tailwind
colors: {
  custom: {
    50: '#69589d',
    500: '#201a74',
    950: '#000000',
  },
}
SCSS
$custom: #201a74;
$custom-light: #69589d;
$custom-dark: #000000;
JSON
{
  "hex": "#201a74",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 244,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.299,
    "c": 0.14596,
    "h": 275.9
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#201A74
secondary
#A2A941
accent
#E641DB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201A74

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

Preview Lab → · Contrast checker → · Palette generator →

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