#16177B#16177B

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

Color values

HEX#16177B
RGBrgb(22, 23, 123)
HSLhsl(239, 70%, 28%)
HSVhsv(239, 82%, 48%)
CMYKcmyk(82.1%, 81.3%, 0%, 51.8%)
CIE-LABlab(16.57, 36.55, -55.49)
CIE-LCHlch(16.57, 66.45, 303.37°)
OKLaboklab(29.65% 0.0018 -0.1607)
OKLCHoklch(29.65% 0.161 270.7)
XYZxyz(4.2112, 2.2129, 18.9402)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16177B #7B7A16
analogous
#16497B #16177B #47167B
triadic
#16177B #7B1617 #177B16
tetradic
#16177B #7B1649 #7B7A16 #167B47
square
#16177B #7B1649 #7B7A16 #167B47
split-complementary
#16177B #7B4716 #497B16
monochromatic
#05051A #0D0D47 #16177B #1F21AF #3133DA

Accessibility & contrast

On white

14.56
#16177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16177B
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16177B#FFFFFF#000000##FFFFFF
##16177B1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16177b;
/* rgb */ color: rgb(22, 23, 123);
/* oklch */ color: oklch(29.6% 0.161 270.7);
Tailwind
colors: {
  custom: {
    50: '#6856a2',
    500: '#16177b',
    950: '#000000',
  },
}
SCSS
$custom: #16177b;
$custom-light: #6856a2;
$custom-dark: #000000;
JSON
{
  "hex": "#16177b",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 239.406,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29647,
    "c": 0.1607,
    "h": 270.7
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#16177B
secondary
#B0AF3D
accent
#EB3BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16177B

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

Preview Lab → · Contrast checker → · Palette generator →

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