#16204D#16204D

#16204D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.084 H 270.3°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#16204D
RGBrgb(22, 32, 77)
HSLhsl(229, 56%, 19%)
HSVhsv(229, 71%, 30%)
CMYKcmyk(71.4%, 58.4%, 0%, 69.8%)
CIE-LABlab(14.05, 12.66, -29.21)
CIE-LCHlch(14.05, 31.83, 293.43°)
OKLaboklab(26.39% 0.0004 -0.0839)
OKLCHoklch(26.39% 0.084 270.3)
XYZxyz(2.1865, 1.7392, 7.2402)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16204D #4D4316
analogous
#163C4D #16204D #28164D
triadic
#16204D #4D1620 #204D16
tetradic
#16204D #4D163C #4D4316 #164D28
square
#16204D #4D163C #4D4316 #164D28
split-complementary
#16204D #4D2816 #3C4D16
monochromatic
#070A18 #080C1D #16204D #24347D #3148AC

Accessibility & contrast

On white

15.58
#16204D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#16204D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16204D
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16204D#FFFFFF#000000##FFFFFF
##16204D1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04264F
Deuteranopia (green-blind)
#00214C
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #16204d;
/* rgb */ color: rgb(22, 32, 77);
/* oklch */ color: oklch(26.4% 0.084 270.3);
Tailwind
colors: {
  custom: {
    50: '#5b5b7f',
    500: '#16204d',
    950: '#000000',
  },
}
SCSS
$custom: #16204d;
$custom-light: #5b5b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#16204d",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 77
  },
  "hsl": {
    "h": 229.091,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26386,
    "c": 0.08386,
    "h": 270.3
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#16204D
secondary
#85773A
accent
#C449DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #16204D

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

Preview Lab → · Contrast checker → · Palette generator →

#16204D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva