#161677#161677

#161677 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.157 H 271.1°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#161677
RGBrgb(22, 22, 119)
HSLhsl(240, 69%, 28%)
HSVhsv(240, 82%, 47%)
CMYKcmyk(81.5%, 81.5%, 0%, 53.3%)
CIE-LABlab(15.88, 35.72, -54.07)
CIE-LCHlch(15.88, 64.80, 303.45°)
OKLaboklab(29.02% 0.003 -0.1565)
OKLCHoklch(29.02% 0.157 271.1)
XYZxyz(3.9464, 2.0759, 17.6419)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161677 #777716
analogous
#164677 #161677 #461677
triadic
#161677 #771616 #167716
tetradic
#161677 #771646 #777716 #167746
square
#161677 #771646 #777716 #167746
split-complementary
#161677 #774616 #467716
monochromatic
#05051A #0C0C43 #161677 #2020AB #2F2FD9

Accessibility & contrast

On white

14.84
#161677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#161677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161677
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161677#FFFFFF#000000##FFFFFF
##1616771.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002275
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161677;
/* rgb */ color: rgb(22, 22, 119);
/* oklch */ color: oklch(29.0% 0.157 271.1);
Tailwind
colors: {
  custom: {
    50: '#67559f',
    500: '#161677',
    950: '#000000',
  },
}
SCSS
$custom: #161677;
$custom-light: #67559f;
$custom-dark: #000000;
JSON
{
  "hex": "#161677",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 240,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29022,
    "c": 0.15657,
    "h": 271.1
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#161677
secondary
#ACAC3C
accent
#EC3CEC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #161677

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

Preview Lab → · Contrast checker → · Palette generator →

#161677 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva