#161C4A#161C4A

#161C4A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.2% C 0.085 H 273.1°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#161C4A
RGBrgb(22, 28, 74)
HSLhsl(233, 54%, 19%)
HSVhsv(233, 70%, 29%)
CMYKcmyk(70.3%, 62.2%, 0%, 71%)
CIE-LABlab(12.58, 14.44, -29.53)
CIE-LCHlch(12.58, 32.87, 296.05°)
OKLaboklab(25.2% 0.0046 -0.0849)
OKLCHoklch(25.2% 0.085 273.1)
XYZxyz(1.9818, 1.4953, 6.6614)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C4A #4A4416
analogous
#16364A #161C4A #2A164A
triadic
#161C4A #4A161C #1C4A16
tetradic
#161C4A #4A1636 #4A4416 #164A2A
square
#161C4A #4A1636 #4A4416 #164A2A
split-complementary
#161C4A #4A2A16 #364A16
monochromatic
#070918 #080A1B #161C4A #242E79 #3240A8

Accessibility & contrast

On white

16.17
#161C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#161C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C4A
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C4A#FFFFFF#000000##FFFFFF
##161C4A1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161c4a;
/* rgb */ color: rgb(22, 28, 74);
/* oklch */ color: oklch(25.2% 0.085 273.1);
Tailwind
colors: {
  custom: {
    50: '#5a577d',
    500: '#161c4a',
    950: '#000000',
  },
}
SCSS
$custom: #161c4a;
$custom-light: #5a577d;
$custom-dark: #000000;
JSON
{
  "hex": "#161c4a",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 74
  },
  "hsl": {
    "h": 233.077,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25198,
    "c": 0.08499,
    "h": 273.1
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#161C4A
secondary
#82793A
accent
#CD4ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #161C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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