#202782#202782

#202782 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.150 H 271.8°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#202782
RGBrgb(32, 39, 130)
HSLhsl(236, 60%, 32%)
HSVhsv(236, 75%, 51%)
CMYKcmyk(75.4%, 70%, 0%, 49%)
CIE-LABlab(21.47, 30.12, -51.84)
CIE-LCHlch(21.47, 59.95, 300.16°)
OKLaboklab(33.53% 0.0047 -0.1499)
OKLCHoklch(33.53% 0.15 271.8)
XYZxyz(5.3491, 3.3693, 21.4832)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202782 #827B20
analogous
#205882 #202782 #4A2082
triadic
#202782 #822027 #278220
tetradic
#202782 #822058 #827B20 #20824A
square
#202782 #822058 #827B20 #20824A
split-complementary
#202782 #824A20 #588220
monochromatic
#080A20 #141851 #202782 #2C36B3 #4A54D2

Accessibility & contrast

On white

12.54
#202782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#202782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202782
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202782#FFFFFF#000000##FFFFFF
##2027821.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202782;
/* rgb */ color: rgb(32, 39, 130);
/* oklch */ color: oklch(33.5% 0.150 271.8);
Tailwind
colors: {
  custom: {
    50: '#6c61a7',
    500: '#202782',
    950: '#000000',
  },
}
SCSS
$custom: #202782;
$custom-light: #6c61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#202782",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 235.714,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33531,
    "c": 0.14999,
    "h": 271.8
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#202782
secondary
#B5AD49
accent
#D844E4
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202782

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

Preview Lab → · Contrast checker → · Palette generator →

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