#201A5F#201A5F

#201A5F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.6% C 0.117 H 279.4°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#201A5F
RGBrgb(32, 26, 95)
HSLhsl(245, 57%, 24%)
HSVhsv(245, 73%, 37%)
CMYKcmyk(66.3%, 72.6%, 0%, 62.7%)
CIE-LABlab(14.80, 25.78, -40.12)
CIE-LCHlch(14.80, 47.69, 302.73°)
OKLaboklab(27.64% 0.0191 -0.1156)
OKLCHoklch(27.64% 0.117 279.4)
XYZxyz(3.0300, 1.8719, 11.0259)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A5F #595F1A
analogous
#1A365F #201A5F #421A5F
triadic
#201A5F #5F201A #1A5F20
tetradic
#201A5F #5F1A36 #595F1A #1A5F42
square
#201A5F #5F1A36 #595F1A #1A5F42
split-complementary
#201A5F #5F421A #365F1A
monochromatic
#080718 #100D2F #201A5F #30278F #4034BF

Accessibility & contrast

On white

15.28
#201A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#201A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A5F
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A5F#FFFFFF#000000##FFFFFF
##201A5F1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00235E
Tritanopia (blue-blind)
#002C3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #201a5f;
/* rgb */ color: rgb(32, 26, 95);
/* oklch */ color: oklch(27.6% 0.117 279.4);
Tailwind
colors: {
  custom: {
    50: '#64578d',
    500: '#201a5f',
    950: '#000000',
  },
}
SCSS
$custom: #201a5f;
$custom-light: #64578d;
$custom-dark: #000000;
JSON
{
  "hex": "#201a5f",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 245.217,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27644,
    "c": 0.11721,
    "h": 279.4
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#201A5F
secondary
#8D9540
accent
#E048D3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #201A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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