#201E8F#201E8F

#201E8F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.176 H 272.3°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#201E8F
RGBrgb(32, 30, 143)
HSLhsl(241, 65%, 34%)
HSVhsv(241, 79%, 56%)
CMYKcmyk(77.6%, 79%, 0%, 43.9%)
CIE-LABlab(20.90, 40.23, -60.92)
CIE-LCHlch(20.90, 73.00, 303.44°)
OKLaboklab(33.54% 0.0071 -0.1763)
OKLCHoklch(33.54% 0.176 272.3)
XYZxyz(6.0162, 3.2181, 26.2854)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201E8F #8D8F1E
analogous
#1E558F #201E8F #591E8F
triadic
#201E8F #8F201E #1E8F20
tetradic
#201E8F #8F1E55 #8D8F1E #1E8F59
square
#201E8F #8F1E55 #8D8F1E #1E8F59
split-complementary
#201E8F #8F591E #558F1E
monochromatic
#09092A #15135C #201E8F #2B29C2 #504EDA

Accessibility & contrast

On white

12.78
#201E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#201E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201E8F
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201E8F#FFFFFF#000000##FFFFFF
##201E8F1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #201e8f;
/* rgb */ color: rgb(32, 30, 143);
/* oklch */ color: oklch(33.5% 0.176 272.3);
Tailwind
colors: {
  custom: {
    50: '#705cb1',
    500: '#201e8f',
    950: '#000000',
  },
}
SCSS
$custom: #201e8f;
$custom-light: #705cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#201e8f",
  "rgb": {
    "r": 32,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 241.062,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33542,
    "c": 0.17645,
    "h": 272.3
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#201E8F
secondary
#BABC4C
accent
#E840E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #201E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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