#202185#202185

#202185 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.161 H 272.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#202185
RGBrgb(32, 33, 133)
HSLhsl(239, 61%, 32%)
HSVhsv(239, 76%, 52%)
CMYKcmyk(75.9%, 75.2%, 0%, 47.8%)
CIE-LABlab(20.39, 35.02, -55.49)
CIE-LCHlch(20.39, 65.62, 302.25°)
OKLaboklab(32.85% 0.0077 -0.1606)
OKLCHoklch(32.85% 0.161 272.7)
XYZxyz(5.3717, 3.0877, 22.4986)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202185 #858420
analogous
#205485 #202185 #522085
triadic
#202185 #852021 #218520
tetradic
#202185 #852054 #858420 #208552
square
#202185 #852054 #858420 #208552
split-complementary
#202185 #855220 #548520
monochromatic
#080922 #141554 #202185 #2C2DB6 #4C4DD4

Accessibility & contrast

On white

12.98
#202185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#202185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202185
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202185#FFFFFF#000000##FFFFFF
##2021851.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202185;
/* rgb */ color: rgb(32, 33, 133);
/* oklch */ color: oklch(32.9% 0.161 272.7);
Tailwind
colors: {
  custom: {
    50: '#6d5daa',
    500: '#202185',
    950: '#000000',
  },
}
SCSS
$custom: #202185;
$custom-light: #6d5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#202185",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 239.406,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32853,
    "c": 0.16076,
    "h": 272.7
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#202185
secondary
#B7B64A
accent
#E343E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #202185

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

Preview Lab → · Contrast checker → · Palette generator →

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