#201A7F#201A7F

#201A7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.160 H 274.4°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#201A7F
RGBrgb(32, 26, 127)
HSLhsl(244, 66%, 30%)
HSVhsv(244, 80%, 50%)
CMYKcmyk(74.8%, 79.5%, 0%, 50.2%)
CIE-LABlab(18.27, 37.05, -55.21)
CIE-LCHlch(18.27, 66.49, 303.86°)
OKLaboklab(31.15% 0.0124 -0.1597)
OKLCHoklch(31.15% 0.16 274.4)
XYZxyz(4.7946, 2.5777, 20.3194)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A7F #797F1A
analogous
#1A477F #201A7F #521A7F
triadic
#201A7F #7F201A #1A7F20
tetradic
#201A7F #7F1A47 #797F1A #1A7F52
square
#201A7F #7F1A47 #797F1A #1A7F52
split-complementary
#201A7F #7F521A #477F1A
monochromatic
#060519 #13104C #201A7F #2D24B2 #453CD7

Accessibility & contrast

On white

13.86
#201A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#201A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A7F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A7F#FFFFFF#000000##FFFFFF
##201A7F1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201a7f;
/* rgb */ color: rgb(32, 26, 127);
/* oklch */ color: oklch(31.1% 0.160 274.4);
Tailwind
colors: {
  custom: {
    50: '#6c59a5',
    500: '#201a7f',
    950: '#000000',
  },
}
SCSS
$custom: #201a7f;
$custom-light: #6c59a5;
$custom-dark: #000000;
JSON
{
  "hex": "#201a7f",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 243.564,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.31149,
    "c": 0.16017,
    "h": 274.4
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#201A7F
secondary
#ACB342
accent
#E93FDF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #201A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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