#201998#201998

#201998 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.192 H 272.0°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#201998
RGBrgb(32, 25, 152)
HSLhsl(243, 72%, 35%)
HSVhsv(243, 84%, 60%)
CMYKcmyk(78.9%, 83.6%, 0%, 40.4%)
CIE-LABlab(21.09, 45.74, -66.17)
CIE-LCHlch(21.09, 80.44, 304.65°)
OKLaboklab(33.99% 0.0066 -0.1915)
OKLCHoklch(33.99% 0.192 272)
XYZxyz(6.6089, 3.2686, 29.9823)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201998 #919819
analogous
#195298 #201998 #601998
triadic
#201998 #982019 #199820
tetradic
#201998 #981952 #919819 #199860
square
#201998 #981952 #919819 #199860
split-complementary
#201998 #986019 #529819
monochromatic
#0A082F #151063 #201998 #2B22CD #524AE1

Accessibility & contrast

On white

12.70
#201998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#201998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201998
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201998#FFFFFF#000000##FFFFFF
##2019981.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #201998;
/* rgb */ color: rgb(32, 25, 152);
/* oklch */ color: oklch(34.0% 0.192 272.0);
Tailwind
colors: {
  custom: {
    50: '#735ab8',
    500: '#201998',
    950: '#000000',
  },
}
SCSS
$custom: #201998;
$custom-light: #735ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#201998",
  "rgb": {
    "r": 32,
    "g": 25,
    "b": 152
  },
  "hsl": {
    "h": 243.307,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.33989,
    "c": 0.19157,
    "h": 272
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#201998
secondary
#BCC34A
accent
#EE39E4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #201998

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

Preview Lab → · Contrast checker → · Palette generator →

#201998 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva