#201A56#201A56

#201A56 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.7% C 0.104 H 281.2°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#201A56
RGBrgb(32, 26, 86)
HSLhsl(246, 54%, 22%)
HSVhsv(246, 70%, 34%)
CMYKcmyk(62.8%, 69.8%, 0%, 66.3%)
CIE-LABlab(13.93, 22.50, -35.50)
CIE-LCHlch(13.93, 42.03, 302.36°)
OKLaboklab(26.75% 0.0203 -0.1021)
OKLCHoklch(26.75% 0.104 281.2)
XYZxyz(2.6442, 1.7176, 8.9945)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A56 #50561A
analogous
#1A3256 #201A56 #3E1A56
triadic
#201A56 #56201A #1A5620
tetradic
#201A56 #561A32 #50561A #1A563E
square
#201A56 #561A32 #50561A #1A563E
split-complementary
#201A56 #563E1A #32561A
monochromatic
#090717 #0F0C27 #201A56 #312885 #4336B4

Accessibility & contrast

On white

15.63
#201A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#201A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A56
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A56#FFFFFF#000000##FFFFFF
##201A561.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002155
Tritanopia (blue-blind)
#022935
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #201a56;
/* rgb */ color: rgb(32, 26, 86);
/* oklch */ color: oklch(26.7% 0.104 281.2);
Tailwind
colors: {
  custom: {
    50: '#625786',
    500: '#201a56',
    950: '#000000',
  },
}
SCSS
$custom: #201a56;
$custom-light: #625786;
$custom-dark: #000000;
JSON
{
  "hex": "#201a56",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 246,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26745,
    "c": 0.1041,
    "h": 281.2
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#201A56
secondary
#848C40
accent
#DD4BCE
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05030B
muted
#7A787C

Preview Lab

Preview with #201A56

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

Preview Lab → · Contrast checker → · Palette generator →

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