#201A6C#201A6C

#201A6C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.135 H 277.1°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#201A6C
RGBrgb(32, 26, 108)
HSLhsl(244, 61%, 26%)
HSVhsv(244, 76%, 42%)
CMYKcmyk(70.4%, 75.9%, 0%, 57.6%)
CIE-LABlab(16.15, 30.45, -46.48)
CIE-LCHlch(16.15, 55.56, 303.23°)
OKLaboklab(29.02% 0.0167 -0.1342)
OKLCHoklch(29.02% 0.135 277.1)
XYZxyz(3.6710, 2.1283, 14.4018)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A6C #666C1A
analogous
#1A3D6C #201A6C #491A6C
triadic
#201A6C #6C201A #1A6C20
tetradic
#201A6C #6C1A3D #666C1A #1A6C49
square
#201A6C #6C1A3D #666C1A #1A6C49
split-complementary
#201A6C #6C491A #3D6C1A
monochromatic
#070619 #110E3B #201A6C #2F269D #3E33CE

Accessibility & contrast

On white

14.73
#201A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#201A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A6C
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A6C#FFFFFF#000000##FFFFFF
##201A6C1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00256A
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #201a6c;
/* rgb */ color: rgb(32, 26, 108);
/* oklch */ color: oklch(29.0% 0.135 277.1);
Tailwind
colors: {
  custom: {
    50: '#675897',
    500: '#201a6c',
    950: '#000000',
  },
}
SCSS
$custom: #201a6c;
$custom-light: #675897;
$custom-dark: #000000;
JSON
{
  "hex": "#201a6c",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 108
  },
  "hsl": {
    "h": 244.39,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29018,
    "c": 0.13528,
    "h": 277.1
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#201A6C
secondary
#9AA141
accent
#E443D9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #201A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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