#202780#202780

#202780 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.147 H 271.9°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#202780
RGBrgb(32, 39, 128)
HSLhsl(236, 60%, 31%)
HSVhsv(236, 75%, 50%)
CMYKcmyk(75%, 69.5%, 0%, 49.8%)
CIE-LABlab(21.27, 29.37, -50.90)
CIE-LCHlch(21.27, 58.77, 299.99°)
OKLaboklab(33.33% 0.0049 -0.1472)
OKLCHoklch(33.33% 0.147 271.9)
XYZxyz(5.2161, 3.3161, 20.7831)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202780 #807920
analogous
#205780 #202780 #492080
triadic
#202780 #802027 #278020
tetradic
#202780 #802057 #807920 #208049
square
#202780 #802057 #807920 #208049
split-complementary
#202780 #804920 #578020
monochromatic
#08091E #14184F #202780 #2C36B1 #4953D1

Accessibility & contrast

On white

12.62
#202780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#202780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202780
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202780#FFFFFF#000000##FFFFFF
##2027801.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202780;
/* rgb */ color: rgb(32, 39, 128);
/* oklch */ color: oklch(33.3% 0.147 271.9);
Tailwind
colors: {
  custom: {
    50: '#6b61a6',
    500: '#202780',
    950: '#000000',
  },
}
SCSS
$custom: #202780;
$custom-light: #6b61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#202780",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 128
  },
  "hsl": {
    "h": 235.625,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33327,
    "c": 0.14726,
    "h": 271.9
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#202780
secondary
#B3AB49
accent
#D845E3
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #202780

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

Preview Lab → · Contrast checker → · Palette generator →

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