#161D4C#161D4C

#161D4C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.087 H 272.4°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#161D4C
RGBrgb(22, 29, 76)
HSLhsl(232, 55%, 19%)
HSVhsv(232, 71%, 30%)
CMYKcmyk(71.1%, 61.8%, 0%, 70.2%)
CIE-LABlab(13.05, 14.50, -30.15)
CIE-LCHlch(13.05, 33.45, 295.69°)
OKLaboklab(25.61% 0.0036 -0.0867)
OKLCHoklch(25.61% 0.087 272.4)
XYZxyz(2.0743, 1.5709, 7.0300)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D4C #4C4516
analogous
#16384C #161D4C #2A164C
triadic
#161D4C #4C161D #1D4C16
tetradic
#161D4C #4C1638 #4C4516 #164C2A
square
#161D4C #4C1638 #4C4516 #164C2A
split-complementary
#161D4C #4C2A16 #384C16
monochromatic
#070918 #080B1D #161D4C #242F7B #3141AB

Accessibility & contrast

On white

15.98
#161D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D4C
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D4C#FFFFFF#000000##FFFFFF
##161D4C1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#001F4B
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161d4c;
/* rgb */ color: rgb(22, 29, 76);
/* oklch */ color: oklch(25.6% 0.087 272.4);
Tailwind
colors: {
  custom: {
    50: '#5b587e',
    500: '#161d4c',
    950: '#000000',
  },
}
SCSS
$custom: #161d4c;
$custom-light: #5b587e;
$custom-dark: #000000;
JSON
{
  "hex": "#161d4c",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 76
  },
  "hsl": {
    "h": 232.222,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25607,
    "c": 0.08673,
    "h": 272.4
  },
  "luminance": 0.01571
}

Semantic roles & 50–950 ramp

primary
#161D4C
secondary
#847A3A
accent
#CB49DE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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