#16177F#16177F

#16177F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.166 H 270.3°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#16177F
RGBrgb(22, 23, 127)
HSLhsl(239, 70%, 29%)
HSVhsv(239, 83%, 50%)
CMYKcmyk(82.7%, 81.9%, 0%, 50.2%)
CIE-LABlab(17.06, 37.93, -57.23)
CIE-LCHlch(17.06, 68.65, 303.54°)
OKLaboklab(30.14% 0.001 -0.1657)
OKLCHoklch(30.14% 0.166 270.3)
XYZxyz(4.4667, 2.3152, 20.2860)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16177F #7F7E16
analogous
#164C7F #16177F #4A167F
triadic
#16177F #7F1617 #177F16
tetradic
#16177F #7F164C #7F7E16 #167F4A
square
#16177F #7F164C #7F7E16 #167F4A
split-complementary
#16177F #7F4A16 #4C7F16
monochromatic
#05051A #0D0E4B #16177F #1F20B3 #3435DC

Accessibility & contrast

On white

14.35
#16177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#16177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16177F
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16177F#FFFFFF#000000##FFFFFF
##16177F1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16177f;
/* rgb */ color: rgb(22, 23, 127);
/* oklch */ color: oklch(30.1% 0.166 270.3);
Tailwind
colors: {
  custom: {
    50: '#6956a5',
    500: '#16177f',
    950: '#000000',
  },
}
SCSS
$custom: #16177f;
$custom-light: #6956a5;
$custom-dark: #000000;
JSON
{
  "hex": "#16177f",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 239.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30137,
    "c": 0.16571,
    "h": 270.3
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#16177F
secondary
#B4B33D
accent
#EC3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #16177F

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

Preview Lab → · Contrast checker → · Palette generator →

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