#202982#202982

#202982 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.148 H 271.3°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#202982
RGBrgb(32, 41, 130)
HSLhsl(234, 60%, 32%)
HSVhsv(234, 75%, 51%)
CMYKcmyk(75.4%, 68.5%, 0%, 49%)
CIE-LABlab(21.96, 28.79, -51.03)
CIE-LCHlch(21.96, 58.59, 299.44°)
OKLaboklab(33.89% 0.0034 -0.1475)
OKLCHoklch(33.89% 0.148 271.3)
XYZxyz(5.4165, 3.5041, 21.5057)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202982 #827920
analogous
#205A82 #202982 #482082
triadic
#202982 #822029 #298220
tetradic
#202982 #82205A #827920 #208248
square
#202982 #82205A #827920 #208248
split-complementary
#202982 #824820 #5A8220
monochromatic
#080A20 #141A51 #202982 #2C38B3 #4A56D2

Accessibility & contrast

On white

12.35
#202982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#202982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202982
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202982#FFFFFF#000000##FFFFFF
##2029821.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202982;
/* rgb */ color: rgb(32, 41, 130);
/* oklch */ color: oklch(33.9% 0.148 271.3);
Tailwind
colors: {
  custom: {
    50: '#6c63a7',
    500: '#202982',
    950: '#000000',
  },
}
SCSS
$custom: #202982;
$custom-light: #6c63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#202982",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 130
  },
  "hsl": {
    "h": 234.49,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33889,
    "c": 0.14758,
    "h": 271.3
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#202982
secondary
#B5AB49
accent
#D544E4
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #202982

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

Preview Lab → · Contrast checker → · Palette generator →

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