#202785#202785

#202785 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.154 H 271.6°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#202785
RGBrgb(32, 39, 133)
HSLhsl(236, 61%, 32%)
HSVhsv(236, 76%, 52%)
CMYKcmyk(75.9%, 70.7%, 0%, 47.8%)
CIE-LABlab(21.77, 31.23, -53.23)
CIE-LCHlch(21.77, 61.72, 300.40°)
OKLaboklab(33.84% 0.0043 -0.154)
OKLCHoklch(33.84% 0.154 271.6)
XYZxyz(5.5534, 3.4510, 22.5592)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202785 #857E20
analogous
#205985 #202785 #4C2085
triadic
#202785 #852027 #278520
tetradic
#202785 #852059 #857E20 #20854C
square
#202785 #852059 #857E20 #20854C
split-complementary
#202785 #854C20 #598520
monochromatic
#080A22 #141954 #202785 #2C35B6 #4C55D4

Accessibility & contrast

On white

12.42
#202785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#202785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202785
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202785#FFFFFF#000000##FFFFFF
##2027851.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202785;
/* rgb */ color: rgb(32, 39, 133);
/* oklch */ color: oklch(33.8% 0.154 271.6);
Tailwind
colors: {
  custom: {
    50: '#6c61a9',
    500: '#202785',
    950: '#000000',
  },
}
SCSS
$custom: #202785;
$custom-light: #6c61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#202785",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 235.842,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3384,
    "c": 0.15405,
    "h": 271.6
  },
  "luminance": 0.03452
}

Semantic roles & 50–950 ramp

primary
#202785
secondary
#B7AF4A
accent
#D943E4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202785

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

Preview Lab → · Contrast checker → · Palette generator →

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