#161877#161877

#161877 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.155 H 270.9°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#161877
RGBrgb(22, 24, 119)
HSLhsl(239, 69%, 28%)
HSVhsv(239, 82%, 47%)
CMYKcmyk(81.5%, 79.8%, 0%, 53.3%)
CIE-LABlab(16.28, 34.57, -53.40)
CIE-LCHlch(16.28, 63.62, 302.92°)
OKLaboklab(29.3% 0.0023 -0.1546)
OKLCHoklch(29.3% 0.155 270.9)
XYZxyz(3.9862, 2.1553, 17.6551)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161877 #777516
analogous
#164877 #161877 #451677
triadic
#161877 #771618 #187716
tetradic
#161877 #771648 #777516 #167745
square
#161877 #771648 #777516 #167745
split-complementary
#161877 #774516 #487716
monochromatic
#05051A #0C0E43 #161877 #2022AB #2F32D9

Accessibility & contrast

On white

14.67
#161877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#161877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161877
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161877#FFFFFF#000000##FFFFFF
##1618771.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161877;
/* rgb */ color: rgb(22, 24, 119);
/* oklch */ color: oklch(29.3% 0.155 270.9);
Tailwind
colors: {
  custom: {
    50: '#67569f',
    500: '#161877',
    950: '#000000',
  },
}
SCSS
$custom: #161877;
$custom-light: #67569f;
$custom-dark: #000000;
JSON
{
  "hex": "#161877",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 238.763,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29305,
    "c": 0.15466,
    "h": 270.9
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#161877
secondary
#ACAA3C
accent
#E83CEC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #161877

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

Preview Lab → · Contrast checker → · Palette generator →

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