#161777#161777

#161777 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.156 H 271.0°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#161777
RGBrgb(22, 23, 119)
HSLhsl(239, 69%, 28%)
HSVhsv(239, 82%, 47%)
CMYKcmyk(81.5%, 80.7%, 0%, 53.3%)
CIE-LABlab(16.08, 35.15, -53.74)
CIE-LCHlch(16.08, 64.21, 303.19°)
OKLaboklab(29.16% 0.0027 -0.1556)
OKLCHoklch(29.16% 0.156 271)
XYZxyz(3.9659, 2.1148, 17.6484)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161777 #777616
analogous
#164877 #161777 #451677
triadic
#161777 #771617 #177716
tetradic
#161777 #771648 #777616 #167745
square
#161777 #771648 #777616 #167745
split-complementary
#161777 #774516 #487716
monochromatic
#05051A #0C0D43 #161777 #2021AB #2F31D9

Accessibility & contrast

On white

14.76
#161777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161777
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161777#FFFFFF#000000##FFFFFF
##1617771.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161777;
/* rgb */ color: rgb(22, 23, 119);
/* oklch */ color: oklch(29.2% 0.156 271.0);
Tailwind
colors: {
  custom: {
    50: '#67569f',
    500: '#161777',
    950: '#000000',
  },
}
SCSS
$custom: #161777;
$custom-light: #67569f;
$custom-dark: #000000;
JSON
{
  "hex": "#161777",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 239.381,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29162,
    "c": 0.15562,
    "h": 271
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#161777
secondary
#ACAB3C
accent
#EA3CEC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #161777

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

Preview Lab → · Contrast checker → · Palette generator →

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