#16205F#16205F

#16205F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.112 H 270.4°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#16205F
RGBrgb(22, 32, 95)
HSLhsl(232, 62%, 23%)
HSVhsv(232, 77%, 37%)
CMYKcmyk(76.8%, 66.3%, 0%, 62.7%)
CIE-LABlab(15.64, 20.07, -38.77)
CIE-LCHlch(15.64, 43.66, 297.37°)
OKLaboklab(28.07% 0.0008 -0.112)
OKLCHoklch(28.07% 0.112 270.4)
XYZxyz(2.9122, 2.0295, 11.0625)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16205F #5F5516
analogous
#16445F #16205F #30165F
triadic
#16205F #5F1620 #205F16
tetradic
#16205F #5F1644 #5F5516 #165F30
square
#16205F #5F1644 #5F5516 #165F30
split-complementary
#16205F #5F3016 #445F16
monochromatic
#060819 #0A0F2D #16205F #223191 #2D41C2

Accessibility & contrast

On white

14.94
#16205F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#16205F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16205F
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16205F#FFFFFF#000000##FFFFFF
##16205F1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#00245E
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #16205f;
/* rgb */ color: rgb(22, 32, 95);
/* oklch */ color: oklch(28.1% 0.112 270.4);
Tailwind
colors: {
  custom: {
    50: '#5f5b8d',
    500: '#16205f',
    950: '#000000',
  },
}
SCSS
$custom: #16205f;
$custom-light: #5f5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#16205f",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 95
  },
  "hsl": {
    "h": 231.781,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28067,
    "c": 0.11196,
    "h": 270.4
  },
  "luminance": 0.0203
}

Semantic roles & 50–950 ramp

primary
#16205F
secondary
#968A3B
accent
#CF42E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #16205F

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

Preview Lab → · Contrast checker → · Palette generator →

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