#201882#201882

#201882 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.166 H 274.3°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#201882
RGBrgb(32, 24, 130)
HSLhsl(245, 69%, 30%)
HSVhsv(245, 82%, 51%)
CMYKcmyk(75.4%, 81.5%, 0%, 49%)
CIE-LABlab(18.24, 39.14, -57.16)
CIE-LCHlch(18.24, 69.28, 304.40°)
OKLaboklab(31.23% 0.0125 -0.1653)
OKLCHoklch(31.23% 0.166 274.3)
XYZxyz(4.9502, 2.5716, 21.3502)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#201882 #7A8218
analogous
#184582 #201882 #551882
triadic
#201882 #822018 #188220
tetradic
#201882 #821845 #7A8218 #188255
square
#201882 #821845 #7A8218 #188255
split-complementary
#201882 #825518 #458218
monochromatic
#07051B #130E4E #201882 #2D22B6 #463ADB

Accessibility & contrast

On white

13.87
#201882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#201882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #201882
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##201882#FFFFFF#000000##FFFFFF
##2018821.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002880
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #201882;
/* rgb */ color: rgb(32, 24, 130);
/* oklch */ color: oklch(31.2% 0.166 274.3);
Tailwind
colors: {
  custom: {
    50: '#6d58a8',
    500: '#201882',
    950: '#000000',
  },
}
SCSS
$custom: #201882;
$custom-light: #6d58a8;
$custom-dark: #000000;
JSON
{
  "hex": "#201882",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 244.528,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31234,
    "c": 0.16579,
    "h": 274.3
  },
  "luminance": 0.02572
}

Semantic roles & 50–950 ramp

primary
#201882
secondary
#ADB640
accent
#EC3CDE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #201882

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

Preview Lab → · Contrast checker → · Palette generator →

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