#201A54#201A54

#201A54 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.6% C 0.101 H 281.7°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#201A54
RGBrgb(32, 26, 84)
HSLhsl(246, 53%, 22%)
HSVhsv(246, 69%, 33%)
CMYKcmyk(61.9%, 69%, 0%, 67.1%)
CIE-LABlab(13.74, 21.77, -34.45)
CIE-LCHlch(13.74, 40.75, 302.29°)
OKLaboklab(26.55% 0.0205 -0.099)
OKLCHoklch(26.55% 0.101 281.7)
XYZxyz(2.5648, 1.6858, 8.5760)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A54 #4E541A
analogous
#1A3154 #201A54 #3D1A54
triadic
#201A54 #54201A #1A5420
tetradic
#201A54 #541A31 #4E541A #1A543D
square
#201A54 #541A31 #4E541A #1A543D
split-complementary
#201A54 #543D1A #31541A
monochromatic
#090717 #0E0C25 #201A54 #322883 #4437B1

Accessibility & contrast

On white

15.70
#201A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #201A54
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A54#FFFFFF#000000##FFFFFF
##201A541.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#002153
Tritanopia (blue-blind)
#052834
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #201a54;
/* rgb */ color: rgb(32, 26, 84);
/* oklch */ color: oklch(26.6% 0.101 281.7);
Tailwind
colors: {
  custom: {
    50: '#625785',
    500: '#201a54',
    950: '#000000',
  },
}
SCSS
$custom: #201a54;
$custom-light: #625785;
$custom-dark: #000000;
JSON
{
  "hex": "#201a54",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 246.207,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26552,
    "c": 0.10112,
    "h": 281.7
  },
  "luminance": 0.01686
}

Semantic roles & 50–950 ramp

primary
#201A54
secondary
#828A40
accent
#DC4CCD
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05030B
muted
#7A787C

Preview Lab

Preview with #201A54

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

Preview Lab → · Contrast checker → · Palette generator →

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