#202582#202582

#202582 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.152 H 272.2°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#202582
RGBrgb(32, 37, 130)
HSLhsl(237, 60%, 32%)
HSVhsv(237, 75%, 51%)
CMYKcmyk(75.4%, 71.5%, 0%, 49%)
CIE-LABlab(20.99, 31.42, -52.63)
CIE-LCHlch(20.99, 61.29, 300.84°)
OKLaboklab(33.18% 0.0059 -0.1522)
OKLCHoklch(33.18% 0.152 272.2)
XYZxyz(5.2851, 3.2414, 21.4619)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202582 #827D20
analogous
#205682 #202582 #4C2082
triadic
#202582 #822025 #258220
tetradic
#202582 #822056 #827D20 #20824C
square
#202582 #822056 #827D20 #20824C
split-complementary
#202582 #824C20 #568220
monochromatic
#080920 #141751 #202582 #2C33B3 #4A51D2

Accessibility & contrast

On white

12.74
#202582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#202582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202582
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202582#FFFFFF#000000##FFFFFF
##2025821.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002E80
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202582;
/* rgb */ color: rgb(32, 37, 130);
/* oklch */ color: oklch(33.2% 0.152 272.2);
Tailwind
colors: {
  custom: {
    50: '#6c60a7',
    500: '#202582',
    950: '#000000',
  },
}
SCSS
$custom: #202582;
$custom-light: #6c60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#202582",
  "rgb": {
    "r": 32,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 236.939,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33184,
    "c": 0.15234,
    "h": 272.2
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#202582
secondary
#B5AF49
accent
#DB44E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202582

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

Preview Lab → · Contrast checker → · Palette generator →

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