#16284F#16284F

#16284F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.5% C 0.075 H 263.7°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#16284F
RGBrgb(22, 40, 79)
HSLhsl(221, 56%, 20%)
HSVhsv(221, 72%, 31%)
CMYKcmyk(72.2%, 49.4%, 0%, 69%)
CIE-LABlab(16.76, 7.50, -26.22)
CIE-LCHlch(16.76, 27.27, 285.97°)
OKLaboklab(28.49% -0.0083 -0.0749)
OKLCHoklch(28.49% 0.075 263.7)
XYZxyz(2.5005, 2.2524, 7.6986)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16284F #4F3D16
analogous
#16454F #16284F #21164F
triadic
#16284F #4F1628 #284F16
tetradic
#16284F #4F1645 #4F3D16 #164F21
square
#16284F #4F1645 #4F3D16 #164F21
split-complementary
#16284F #4F2116 #454F16
monochromatic
#070C18 #09101F #16284F #23407F #3158AF

Accessibility & contrast

On white

14.48
#16284F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#16284F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16284F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16284F#FFFFFF#000000##FFFFFF
##16284F1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C50
Deuteranopia (green-blind)
#0B274E
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16284f;
/* rgb */ color: rgb(22, 40, 79);
/* oklch */ color: oklch(28.5% 0.075 263.7);
Tailwind
colors: {
  custom: {
    50: '#5b6180',
    500: '#16284f',
    950: '#000000',
  },
}
SCSS
$custom: #16284f;
$custom-light: #5b6180;
$custom-dark: #000000;
JSON
{
  "hex": "#16284f",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 79
  },
  "hsl": {
    "h": 221.053,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28494,
    "c": 0.07539,
    "h": 263.7
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#16284F
secondary
#866E3A
accent
#B048E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #16284F

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

Preview Lab → · Contrast checker → · Palette generator →

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