#161D5D#161D5D

#161D5D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.3% C 0.113 H 271.7°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#161D5D
RGBrgb(22, 29, 93)
HSLhsl(234, 62%, 23%)
HSVhsv(234, 76%, 36%)
CMYKcmyk(76.3%, 68.8%, 0%, 63.5%)
CIE-LABlab(14.62, 21.43, -39.11)
CIE-LCHlch(14.62, 44.59, 298.72°)
OKLaboklab(27.26% 0.0033 -0.113)
OKLCHoklch(27.26% 0.113 271.7)
XYZxyz(2.7454, 1.8393, 10.5641)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D5D #5D5616
analogous
#16405D #161D5D #33165D
triadic
#161D5D #5D161D #1D5D16
tetradic
#161D5D #5D1640 #5D5616 #165D33
square
#161D5D #5D1640 #5D5616 #165D33
split-complementary
#161D5D #5D3316 #405D16
monochromatic
#060819 #0A0E2C #161D5D #222C8E #2D3CC0

Accessibility & contrast

On white

15.35
#161D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#161D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D5D
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D5D#FFFFFF#000000##FFFFFF
##161D5D1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161d5d;
/* rgb */ color: rgb(22, 29, 93);
/* oklch */ color: oklch(27.3% 0.113 271.7);
Tailwind
colors: {
  custom: {
    50: '#5f598c',
    500: '#161d5d',
    950: '#000000',
  },
}
SCSS
$custom: #161d5d;
$custom-light: #5f598c;
$custom-dark: #000000;
JSON
{
  "hex": "#161d5d",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 93
  },
  "hsl": {
    "h": 234.085,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27257,
    "c": 0.11302,
    "h": 271.7
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#161D5D
secondary
#948B3B
accent
#D543E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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