#203980#203980

#203980 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.9% C 0.124 H 265.9°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#203980
RGBrgb(32, 57, 128)
HSLhsl(224, 60%, 31%)
HSVhsv(224, 75%, 50%)
CMYKcmyk(75%, 55.5%, 0%, 49.8%)
CIE-LABlab(26.13, 16.97, -42.97)
CIE-LCHlch(26.13, 46.20, 291.55°)
OKLaboklab(36.94% -0.0089 -0.1237)
OKLCHoklch(36.94% 0.124 265.9)
XYZxyz(5.9537, 4.7912, 21.0289)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203980 #806720
analogous
#206980 #203980 #372080
triadic
#203980 #802039 #398020
tetradic
#203980 #802069 #806720 #208037
square
#203980 #802069 #806720 #208037
split-complementary
#203980 #803720 #698020
monochromatic
#080D1E #14234F #203980 #2C4FB1 #496CD1

Accessibility & contrast

On white

10.72
#203980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#203980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203980
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203980#FFFFFF#000000##FFFFFF
##2039801.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034282
Deuteranopia (green-blind)
#003A7F
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #203980;
/* rgb */ color: rgb(32, 57, 128);
/* oklch */ color: oklch(36.9% 0.124 265.9);
Tailwind
colors: {
  custom: {
    50: '#6a6ea5',
    500: '#203980',
    950: '#000000',
  },
}
SCSS
$custom: #203980;
$custom-light: #6a6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#203980",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 128
  },
  "hsl": {
    "h": 224.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36936,
    "c": 0.12401,
    "h": 265.9
  },
  "luminance": 0.04792
}

Semantic roles & 50–950 ramp

primary
#203980
secondary
#B39749
accent
#BA45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #203980

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

Preview Lab → · Contrast checker → · Palette generator →

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