#16177A#16177A

#16177A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.159 H 270.7°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#16177A
RGBrgb(22, 23, 122)
HSLhsl(239, 69%, 28%)
HSVhsv(239, 82%, 48%)
CMYKcmyk(82%, 81.1%, 0%, 52.2%)
CIE-LABlab(16.44, 36.20, -55.06)
CIE-LCHlch(16.44, 65.89, 303.33°)
OKLaboklab(29.53% 0.0021 -0.1594)
OKLCHoklch(29.53% 0.159 270.7)
XYZxyz(4.1489, 2.1880, 18.6122)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16177A #7A7916
analogous
#16497A #16177A #47167A
triadic
#16177A #7A1617 #177A16
tetradic
#16177A #7A1649 #7A7916 #167A47
square
#16177A #7A1649 #7A7916 #167A47
split-complementary
#16177A #7A4716 #497A16
monochromatic
#05051A #0D0D46 #16177A #1F21AE #3132DA

Accessibility & contrast

On white

14.61
#16177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#16177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16177A
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16177A#FFFFFF#000000##FFFFFF
##16177A1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002478
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16177a;
/* rgb */ color: rgb(22, 23, 122);
/* oklch */ color: oklch(29.5% 0.159 270.7);
Tailwind
colors: {
  custom: {
    50: '#6856a2',
    500: '#16177a',
    950: '#000000',
  },
}
SCSS
$custom: #16177a;
$custom-light: #6856a2;
$custom-dark: #000000;
JSON
{
  "hex": "#16177a",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 239.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29526,
    "c": 0.15944,
    "h": 270.7
  },
  "luminance": 0.02189
}

Semantic roles & 50–950 ramp

primary
#16177A
secondary
#AFAE3D
accent
#EA3CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16177A

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

Preview Lab → · Contrast checker → · Palette generator →

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