#161D5A#161D5A

#161D5A is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.109 H 271.8°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#161D5A
RGBrgb(22, 29, 90)
HSLhsl(234, 61%, 22%)
HSVhsv(234, 76%, 35%)
CMYKcmyk(75.6%, 67.8%, 0%, 64.7%)
CIE-LABlab(14.33, 20.22, -37.58)
CIE-LCHlch(14.33, 42.67, 298.28°)
OKLaboklab(26.95% 0.0035 -0.1085)
OKLCHoklch(26.95% 0.109 271.8)
XYZxyz(2.6151, 1.7872, 9.8780)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D5A #5A5316
analogous
#163F5A #161D5A #31165A
triadic
#161D5A #5A161D #1D5A16
tetradic
#161D5A #5A163F #5A5316 #165A31
square
#161D5A #5A163F #5A5316 #165A31
split-complementary
#161D5A #5A3116 #3F5A16
monochromatic
#060819 #0A0D29 #161D5A #222D8B #2E3DBC

Accessibility & contrast

On white

15.47
#161D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#161D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D5A
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D5A#FFFFFF#000000##FFFFFF
##161D5A1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002159
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161d5a;
/* rgb */ color: rgb(22, 29, 90);
/* oklch */ color: oklch(27.0% 0.109 271.8);
Tailwind
colors: {
  custom: {
    50: '#5e5989',
    500: '#161d5a',
    950: '#000000',
  },
}
SCSS
$custom: #161d5a;
$custom-light: #5e5989;
$custom-dark: #000000;
JSON
{
  "hex": "#161d5a",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 90
  },
  "hsl": {
    "h": 233.824,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26952,
    "c": 0.10854,
    "h": 271.8
  },
  "luminance": 0.01787
}

Semantic roles & 50–950 ramp

primary
#161D5A
secondary
#91883B
accent
#D344E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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