#201A8B#201A8B

#201A8B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.175 H 273.1°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#201A8B
RGBrgb(32, 26, 139)
HSLhsl(243, 68%, 32%)
HSVhsv(243, 81%, 55%)
CMYKcmyk(77%, 81.3%, 0%, 45.5%)
CIE-LABlab(19.68, 41.05, -60.44)
CIE-LCHlch(19.68, 73.06, 304.18°)
OKLaboklab(32.55% 0.0095 -0.1749)
OKLCHoklch(32.55% 0.175 273.1)
XYZxyz(5.6237, 2.9094, 24.6863)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A8B #858B1A
analogous
#1A4C8B #201A8B #591A8B
triadic
#201A8B #8B201A #1A8B20
tetradic
#201A8B #8B1A4C #858B1A #1A8B59
square
#201A8B #8B1A4C #858B1A #1A8B59
split-complementary
#201A8B #8B591A #4C8B1A
monochromatic
#080724 #141057 #201A8B #2C24BF #4C43DC

Accessibility & contrast

On white

13.27
#201A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#201A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A8B
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A8B#FFFFFF#000000##FFFFFF
##201A8B1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002A89
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #201a8b;
/* rgb */ color: rgb(32, 26, 139);
/* oklch */ color: oklch(32.6% 0.175 273.1);
Tailwind
colors: {
  custom: {
    50: '#6f59ae',
    500: '#201a8b',
    950: '#000000',
  },
}
SCSS
$custom: #201a8b;
$custom-light: #6f59ae;
$custom-dark: #000000;
JSON
{
  "hex": "#201a8b",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 243.186,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3255,
    "c": 0.17514,
    "h": 273.1
  },
  "luminance": 0.0291
}

Semantic roles & 50–950 ramp

primary
#201A8B
secondary
#B7BD44
accent
#EB3CE2
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #201A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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