#202480#202480

#202480 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.151 H 272.6°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#202480
RGBrgb(32, 36, 128)
HSLhsl(238, 60%, 31%)
HSVhsv(238, 75%, 50%)
CMYKcmyk(75%, 71.9%, 0%, 49.8%)
CIE-LABlab(20.54, 31.33, -52.09)
CIE-LCHlch(20.54, 60.79, 301.03°)
OKLaboklab(32.8% 0.0068 -0.1506)
OKLCHoklch(32.8% 0.151 272.6)
XYZxyz(5.1215, 3.1268, 20.7515)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202480 #807C20
analogous
#205480 #202480 #4C2080
triadic
#202480 #802024 #248020
tetradic
#202480 #802054 #807C20 #20804C
square
#202480 #802054 #807C20 #20804C
split-complementary
#202480 #804C20 #548020
monochromatic
#08081E #14164F #202480 #2C32B1 #494FD1

Accessibility & contrast

On white

12.92
#202480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#202480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202480
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202480#FFFFFF#000000##FFFFFF
##2024801.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202480;
/* rgb */ color: rgb(32, 36, 128);
/* oklch */ color: oklch(32.8% 0.151 272.6);
Tailwind
colors: {
  custom: {
    50: '#6b5fa6',
    500: '#202480',
    950: '#000000',
  },
}
SCSS
$custom: #202480;
$custom-light: #6b5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#202480",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 128
  },
  "hsl": {
    "h": 237.5,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32804,
    "c": 0.1508,
    "h": 272.6
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#202480
secondary
#B3AE49
accent
#DD45E3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #202480

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

Preview Lab → · Contrast checker → · Palette generator →

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