#201C98#201C98

#201C98 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.189 H 271.7°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#201C98
RGBrgb(32, 28, 152)
HSLhsl(242, 69%, 35%)
HSVhsv(242, 82%, 60%)
CMYKcmyk(78.9%, 81.6%, 0%, 40.4%)
CIE-LABlab(21.59, 44.26, -65.33)
CIE-LCHlch(21.59, 78.91, 304.12°)
OKLaboklab(34.34% 0.0058 -0.1891)
OKLCHoklch(34.34% 0.189 271.7)
XYZxyz(6.6765, 3.4038, 30.0048)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201C98 #94981C
analogous
#1C5698 #201C98 #5E1C98
triadic
#201C98 #98201C #1C9820
tetradic
#201C98 #981C56 #94981C #1C985E
square
#201C98 #981C56 #94981C #1C985E
split-complementary
#201C98 #985E1C #56981C
monochromatic
#0A0931 #151264 #201C98 #2B26CC #5450DF

Accessibility & contrast

On white

12.49
#201C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#201C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201C98
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201C98#FFFFFF#000000##FFFFFF
##201C981.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9B
Deuteranopia (green-blind)
#002D96
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #201c98;
/* rgb */ color: rgb(32, 28, 152);
/* oklch */ color: oklch(34.3% 0.189 271.7);
Tailwind
colors: {
  custom: {
    50: '#735bb8',
    500: '#201c98',
    950: '#000000',
  },
}
SCSS
$custom: #201c98;
$custom-light: #735bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#201c98",
  "rgb": {
    "r": 32,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 241.935,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34339,
    "c": 0.18918,
    "h": 271.7
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#201C98
secondary
#BEC14E
accent
#EC3CE6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #201C98

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

Preview Lab → · Contrast checker → · Palette generator →

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