#201A98#201A98

#201A98 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.1% C 0.191 H 271.9°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#201A98
RGBrgb(32, 26, 152)
HSLhsl(243, 71%, 35%)
HSVhsv(243, 83%, 60%)
CMYKcmyk(78.9%, 82.9%, 0%, 40.4%)
CIE-LABlab(21.25, 45.26, -65.90)
CIE-LCHlch(21.25, 79.94, 304.48°)
OKLaboklab(34.1% 0.0063 -0.1907)
OKLCHoklch(34.1% 0.191 271.9)
XYZxyz(6.6306, 3.3121, 29.9895)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201A98 #92981A
analogous
#1A5398 #201A98 #5F1A98
triadic
#201A98 #98201A #1A9820
tetradic
#201A98 #981A53 #92981A #1A985F
square
#201A98 #981A53 #92981A #1A985F
split-complementary
#201A98 #985F1A #53981A
monochromatic
#0A082F #151164 #201A98 #2B23CC #534CE0

Accessibility & contrast

On white

12.63
#201A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#201A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201A98
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201A98#FFFFFF#000000##FFFFFF
##201A981.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399B
Deuteranopia (green-blind)
#002D96
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #201a98;
/* rgb */ color: rgb(32, 26, 152);
/* oklch */ color: oklch(34.1% 0.191 271.9);
Tailwind
colors: {
  custom: {
    50: '#735ab8',
    500: '#201a98',
    950: '#000000',
  },
}
SCSS
$custom: #201a98;
$custom-light: #735ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#201a98",
  "rgb": {
    "r": 32,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 242.857,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34103,
    "c": 0.19079,
    "h": 271.9
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#201A98
secondary
#BDC24B
accent
#EE3AE5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #201A98

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

Preview Lab → · Contrast checker → · Palette generator →

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