#203979#203979

#203979 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.114 H 265.1°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#203979
RGBrgb(32, 57, 121)
HSLhsl(223, 58%, 30%)
HSVhsv(223, 74%, 47%)
CMYKcmyk(73.6%, 52.9%, 0%, 52.5%)
CIE-LABlab(25.60, 14.17, -39.41)
CIE-LCHlch(25.60, 41.88, 289.78°)
OKLaboklab(36.37% -0.0096 -0.1132)
OKLCHoklch(36.37% 0.114 265.1)
XYZxyz(5.5088, 4.6132, 18.6856)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203979 #796020
analogous
#206679 #203979 #332079
triadic
#203979 #792039 #397920
tetradic
#203979 #792066 #796020 #207933
square
#203979 #792066 #796020 #207933
split-complementary
#203979 #793320 #667920
monochromatic
#060B18 #132249 #203979 #2D50A9 #456CCE

Accessibility & contrast

On white

10.92
#203979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#203979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203979
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203979#FFFFFF#000000##FFFFFF
##2039791.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12417B
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #203979;
/* rgb */ color: rgb(32, 57, 121);
/* oklch */ color: oklch(36.4% 0.114 265.1);
Tailwind
colors: {
  custom: {
    50: '#686ea0',
    500: '#203979',
    950: '#000000',
  },
}
SCSS
$custom: #203979;
$custom-light: #686ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#203979",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 223.146,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.36367,
    "c": 0.11364,
    "h": 265.1
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#203979
secondary
#AC9049
accent
#B646E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #203979

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

Preview Lab → · Contrast checker → · Palette generator →

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