#201A4C#201A4C

#201A4C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.089 H 283.7°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#201A4C
RGBrgb(32, 26, 76)
HSLhsl(247, 49%, 20%)
HSVhsv(247, 66%, 30%)
CMYKcmyk(57.9%, 65.8%, 0%, 70.2%)
CIE-LABlab(13.03, 18.84, -30.14)
CIE-LCHlch(13.03, 35.54, 302.01°)
OKLaboklab(25.81% 0.0211 -0.0863)
OKLCHoklch(25.81% 0.089 283.7)
XYZxyz(2.2692, 1.5675, 7.0191)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A4C #464C1A
analogous
#1A2D4C #201A4C #391A4C
triadic
#201A4C #4C201A #1A4C20
tetradic
#201A4C #4C1A2D #464C1A #1A4C39
square
#201A4C #4C1A2D #464C1A #1A4C39
split-complementary
#201A4C #4C391A #2D4C1A
monochromatic
#0A0817 #0D0A1E #201A4C #332A7A #4639A7

Accessibility & contrast

On white

15.99
#201A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#201A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A4C
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A4C#FFFFFF#000000##FFFFFF
##201A4C1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#00204B
Tritanopia (blue-blind)
#0E2630
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #201a4c;
/* rgb */ color: rgb(32, 26, 76);
/* oklch */ color: oklch(25.8% 0.089 283.7);
Tailwind
colors: {
  custom: {
    50: '#60567e',
    500: '#201a4c',
    950: '#000000',
  },
}
SCSS
$custom: #201a4c;
$custom-light: #60567e;
$custom-dark: #000000;
JSON
{
  "hex": "#201a4c",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 247.2,
    "s": 49.02,
    "l": 20
  },
  "oklch": {
    "l": 0.25807,
    "c": 0.08888,
    "h": 283.7
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

primary
#201A4C
secondary
#7A8240
accent
#D94FC8
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05030A
muted
#79787C

Preview Lab

Preview with #201A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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