#202980#202980

#202980 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.145 H 271.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#202980
RGBrgb(32, 41, 128)
HSLhsl(234, 60%, 31%)
HSVhsv(234, 75%, 50%)
CMYKcmyk(75%, 68%, 0%, 49.8%)
CIE-LABlab(21.77, 28.04, -50.08)
CIE-LCHlch(21.77, 57.40, 299.24°)
OKLaboklab(33.69% 0.0036 -0.1448)
OKLCHoklch(33.69% 0.145 271.4)
XYZxyz(5.2836, 3.4509, 20.8055)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202980 #807720
analogous
#205980 #202980 #472080
triadic
#202980 #802029 #298020
tetradic
#202980 #802059 #807720 #208047
square
#202980 #802059 #807720 #208047
split-complementary
#202980 #804720 #598020
monochromatic
#080A1E #14194F #202980 #2C39B1 #4956D1

Accessibility & contrast

On white

12.42
#202980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202980
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202980#FFFFFF#000000##FFFFFF
##2029801.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202980;
/* rgb */ color: rgb(32, 41, 128);
/* oklch */ color: oklch(33.7% 0.145 271.4);
Tailwind
colors: {
  custom: {
    50: '#6b63a6',
    500: '#202980',
    950: '#000000',
  },
}
SCSS
$custom: #202980;
$custom-light: #6b63a6;
$custom-dark: #000000;
JSON
{
  "hex": "#202980",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 234.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3369,
    "c": 0.14482,
    "h": 271.4
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#202980
secondary
#B3A949
accent
#D445E3
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #202980

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

Preview Lab → · Contrast checker → · Palette generator →

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