#16204A#16204A

#16204A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.079 H 270.1°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#16204A
RGBrgb(22, 32, 74)
HSLhsl(228, 54%, 19%)
HSVhsv(228, 70%, 29%)
CMYKcmyk(70.3%, 56.8%, 0%, 71%)
CIE-LABlab(13.81, 11.41, -27.54)
CIE-LCHlch(13.81, 29.81, 292.51°)
OKLaboklab(26.13% 0.0001 -0.0789)
OKLCHoklch(26.13% 0.079 270.1)
XYZxyz(2.0830, 1.6978, 6.6952)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16204A #4A4016
analogous
#163A4A #16204A #26164A
triadic
#16204A #4A1620 #204A16
tetradic
#16204A #4A163A #4A4016 #164A26
square
#16204A #4A163A #4A4016 #164A26
split-complementary
#16204A #4A2616 #3A4A16
monochromatic
#070A18 #080C1B #16204A #243479 #3249A8

Accessibility & contrast

On white

15.68
#16204A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#16204A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16204A
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16204A#FFFFFF#000000##FFFFFF
##16204A1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08264C
Deuteranopia (green-blind)
#002149
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #16204a;
/* rgb */ color: rgb(22, 32, 74);
/* oklch */ color: oklch(26.1% 0.079 270.1);
Tailwind
colors: {
  custom: {
    50: '#5a5b7d',
    500: '#16204a',
    950: '#000000',
  },
}
SCSS
$custom: #16204a;
$custom-light: #5a5b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#16204a",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 74
  },
  "hsl": {
    "h": 228.462,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26128,
    "c": 0.07894,
    "h": 270.1
  },
  "luminance": 0.01698
}

Semantic roles & 50–950 ramp

primary
#16204A
secondary
#82743A
accent
#C14ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #16204A

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

Preview Lab → · Contrast checker → · Palette generator →

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