#16177D#16177D

#16177D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.163 H 270.5°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#16177D
RGBrgb(22, 23, 125)
HSLhsl(239, 70%, 29%)
HSVhsv(239, 82%, 49%)
CMYKcmyk(82.4%, 81.6%, 0%, 51%)
CIE-LABlab(16.81, 37.24, -56.36)
CIE-LCHlch(16.81, 67.56, 303.46°)
OKLaboklab(29.89% 0.0014 -0.1632)
OKLCHoklch(29.89% 0.163 270.5)
XYZxyz(4.3377, 2.2635, 19.6064)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16177D #7D7C16
analogous
#164B7D #16177D #49167D
triadic
#16177D #7D1617 #177D16
tetradic
#16177D #7D164B #7D7C16 #167D49
square
#16177D #7D164B #7D7C16 #167D49
split-complementary
#16177D #7D4916 #4B7D16
monochromatic
#05051A #0D0D49 #16177D #1F21B1 #3234DB

Accessibility & contrast

On white

14.45
#16177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#16177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16177D
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16177D#FFFFFF#000000##FFFFFF
##16177D1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16177d;
/* rgb */ color: rgb(22, 23, 125);
/* oklch */ color: oklch(29.9% 0.163 270.5);
Tailwind
colors: {
  custom: {
    50: '#6956a4',
    500: '#16177d',
    950: '#000000',
  },
}
SCSS
$custom: #16177d;
$custom-light: #6956a4;
$custom-dark: #000000;
JSON
{
  "hex": "#16177d",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 239.417,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29892,
    "c": 0.16322,
    "h": 270.5
  },
  "luminance": 0.02264
}

Semantic roles & 50–950 ramp

primary
#16177D
secondary
#B2B13D
accent
#EB3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16177D

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

Preview Lab → · Contrast checker → · Palette generator →

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