#161C4D#161C4D

#161C4D is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.090 H 273.0°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#161C4D
RGBrgb(22, 28, 77)
HSLhsl(233, 56%, 19%)
HSVhsv(233, 71%, 30%)
CMYKcmyk(71.4%, 63.6%, 0%, 69.8%)
CIE-LABlab(12.84, 15.66, -31.18)
CIE-LCHlch(12.84, 34.89, 296.67°)
OKLaboklab(25.48% 0.0047 -0.0897)
OKLCHoklch(25.48% 0.09 273)
XYZxyz(2.0852, 1.5367, 7.2065)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C4D #4D4716
analogous
#16384D #161C4D #2C164D
triadic
#161C4D #4D161C #1C4D16
tetradic
#161C4D #4D1638 #4D4716 #164D2C
square
#161C4D #4D1638 #4D4716 #164D2C
split-complementary
#161C4D #4D2C16 #384D16
monochromatic
#070918 #080B1D #161C4D #242D7D #313FAC

Accessibility & contrast

On white

16.06
#161C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#161C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C4D
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C4D#FFFFFF#000000##FFFFFF
##161C4D1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161c4d;
/* rgb */ color: rgb(22, 28, 77);
/* oklch */ color: oklch(25.5% 0.090 273.0);
Tailwind
colors: {
  custom: {
    50: '#5b577f',
    500: '#161c4d',
    950: '#000000',
  },
}
SCSS
$custom: #161c4d;
$custom-light: #5b577f;
$custom-dark: #000000;
JSON
{
  "hex": "#161c4d",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 233.455,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25476,
    "c": 0.08983,
    "h": 273
  },
  "luminance": 0.01537
}

Semantic roles & 50–950 ramp

primary
#161C4D
secondary
#857C3A
accent
#CF49DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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