#202882#202882

#202882 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.149 H 271.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#202882
RGBrgb(32, 40, 130)
HSLhsl(235, 60%, 32%)
HSVhsv(235, 75%, 51%)
CMYKcmyk(75.4%, 69.2%, 0%, 49%)
CIE-LABlab(21.71, 29.46, -51.43)
CIE-LCHlch(21.71, 59.27, 299.80°)
OKLaboklab(33.71% 0.004 -0.1487)
OKLCHoklch(33.71% 0.149 271.6)
XYZxyz(5.3824, 3.4358, 21.4943)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202882 #827A20
analogous
#205982 #202882 #492082
triadic
#202882 #822028 #288220
tetradic
#202882 #822059 #827A20 #208249
square
#202882 #822059 #827A20 #208249
split-complementary
#202882 #824920 #598220
monochromatic
#080A20 #141951 #202882 #2C37B3 #4A55D2

Accessibility & contrast

On white

12.45
#202882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202882
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202882#FFFFFF#000000##FFFFFF
##2028821.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202882;
/* rgb */ color: rgb(32, 40, 130);
/* oklch */ color: oklch(33.7% 0.149 271.6);
Tailwind
colors: {
  custom: {
    50: '#6c62a7',
    500: '#202882',
    950: '#000000',
  },
}
SCSS
$custom: #202882;
$custom-light: #6c62a7;
$custom-dark: #000000;
JSON
{
  "hex": "#202882",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 235.102,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33709,
    "c": 0.14879,
    "h": 271.6
  },
  "luminance": 0.03436
}

Semantic roles & 50–950 ramp

primary
#202882
secondary
#B5AC49
accent
#D744E4
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #202882

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

Preview Lab → · Contrast checker → · Palette generator →

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