#201E98#201E98

#201E98 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.187 H 271.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#201E98
RGBrgb(32, 30, 152)
HSLhsl(241, 67%, 36%)
HSVhsv(241, 80%, 60%)
CMYKcmyk(78.9%, 80.3%, 0%, 40.4%)
CIE-LABlab(21.95, 43.22, -64.74)
CIE-LCHlch(21.95, 77.84, 303.73°)
OKLaboklab(34.59% 0.0051 -0.1874)
OKLCHoklch(34.59% 0.187 271.6)
XYZxyz(6.7255, 3.5019, 30.0211)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E98 #96981E
analogous
#1E5998 #201E98 #5D1E98
triadic
#201E98 #98201E #1E9820
tetradic
#201E98 #981E59 #96981E #1E985D
square
#201E98 #981E59 #96981E #1E985D
split-complementary
#201E98 #985D1E #59981E
monochromatic
#0A0A32 #151465 #201E98 #2B28CB #5653DD

Accessibility & contrast

On white

12.35
#201E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#201E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201E98
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E98#FFFFFF#000000##FFFFFF
##201E981.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9B
Deuteranopia (green-blind)
#002E96
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #201e98;
/* rgb */ color: rgb(32, 30, 152);
/* oklch */ color: oklch(34.6% 0.187 271.6);
Tailwind
colors: {
  custom: {
    50: '#725db8',
    500: '#201e98',
    950: '#000000',
  },
}
SCSS
$custom: #201e98;
$custom-light: #725db8;
$custom-dark: #000000;
JSON
{
  "hex": "#201e98",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 240.984,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34589,
    "c": 0.18747,
    "h": 271.6
  },
  "luminance": 0.03503
}

Semantic roles & 50–950 ramp

primary
#201E98
secondary
#BEC051
accent
#EA3EE7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201E98

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

Preview Lab → · Contrast checker → · Palette generator →

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