#161D4D#161D4D

#161D4D is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.088 H 272.3°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#161D4D
RGBrgb(22, 29, 77)
HSLhsl(232, 56%, 19%)
HSVhsv(232, 71%, 30%)
CMYKcmyk(71.4%, 62.3%, 0%, 69.8%)
CIE-LABlab(13.14, 14.91, -30.69)
CIE-LCHlch(13.14, 34.12, 295.92°)
OKLaboklab(25.7% 0.0036 -0.0883)
OKLCHoklch(25.7% 0.088 272.3)
XYZxyz(2.1093, 1.5849, 7.2145)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D4D #4D4616
analogous
#16394D #161D4D #2B164D
triadic
#161D4D #4D161D #1D4D16
tetradic
#161D4D #4D1639 #4D4616 #164D2B
square
#161D4D #4D1639 #4D4616 #164D2B
split-complementary
#161D4D #4D2B16 #394D16
monochromatic
#070918 #080B1D #161D4D #242F7D #3141AC

Accessibility & contrast

On white

15.95
#161D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#161D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D4D
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D4D#FFFFFF#000000##FFFFFF
##161D4D1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#001F4C
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161d4d;
/* rgb */ color: rgb(22, 29, 77);
/* oklch */ color: oklch(25.7% 0.088 272.3);
Tailwind
colors: {
  custom: {
    50: '#5b587f',
    500: '#161d4d',
    950: '#000000',
  },
}
SCSS
$custom: #161d4d;
$custom-light: #5b587f;
$custom-dark: #000000;
JSON
{
  "hex": "#161d4d",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 232.364,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25698,
    "c": 0.08834,
    "h": 272.3
  },
  "luminance": 0.01585
}

Semantic roles & 50–950 ramp

primary
#161D4D
secondary
#857B3A
accent
#CC49DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161D4D

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

Preview Lab → · Contrast checker → · Palette generator →

#161D4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva