#16204F#16204F

#16204F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.087 H 270.4°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#16204F
RGBrgb(22, 32, 79)
HSLhsl(229, 56%, 20%)
HSVhsv(229, 72%, 31%)
CMYKcmyk(72.2%, 59.5%, 0%, 69%)
CIE-LABlab(14.22, 13.49, -30.31)
CIE-LCHlch(14.22, 33.18, 293.99°)
OKLaboklab(26.56% 0.0006 -0.0871)
OKLCHoklch(26.56% 0.087 270.4)
XYZxyz(2.2582, 1.7679, 7.6179)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16204F #4F4516
analogous
#163D4F #16204F #29164F
triadic
#16204F #4F1620 #204F16
tetradic
#16204F #4F163D #4F4516 #164F29
square
#16204F #4F163D #4F4516 #164F29
split-complementary
#16204F #4F2916 #3D4F16
monochromatic
#070A18 #090D1F #16204F #23337F #3147AF

Accessibility & contrast

On white

15.51
#16204F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16204F
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16204F#FFFFFF#000000##FFFFFF
##16204F1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012751
Deuteranopia (green-blind)
#00224E
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #16204f;
/* rgb */ color: rgb(22, 32, 79);
/* oklch */ color: oklch(26.6% 0.087 270.4);
Tailwind
colors: {
  custom: {
    50: '#5b5b81',
    500: '#16204f',
    950: '#000000',
  },
}
SCSS
$custom: #16204f;
$custom-light: #5b5b81;
$custom-dark: #000000;
JSON
{
  "hex": "#16204f",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 79
  },
  "hsl": {
    "h": 229.474,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26562,
    "c": 0.0871,
    "h": 270.4
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#16204F
secondary
#86793A
accent
#C548E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #16204F

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

Preview Lab → · Contrast checker → · Palette generator →

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