#161D5C#161D5C

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

Color values

HEX#161D5C
RGBrgb(22, 29, 92)
HSLhsl(234, 61%, 22%)
HSVhsv(234, 76%, 36%)
CMYKcmyk(76.1%, 68.5%, 0%, 63.9%)
CIE-LABlab(14.52, 21.03, -38.60)
CIE-LCHlch(14.52, 43.95, 298.58°)
OKLaboklab(27.16% 0.0033 -0.1115)
OKLCHoklch(27.16% 0.112 271.7)
XYZxyz(2.7014, 1.8217, 10.3324)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D5C #5C5516
analogous
#16405C #161D5C #32165C
triadic
#161D5C #5C161D #1D5C16
tetradic
#161D5C #5C1640 #5C5516 #165C32
square
#161D5C #5C1640 #5C5516 #165C32
split-complementary
#161D5C #5C3216 #405C16
monochromatic
#060819 #0A0D2B #161D5C #222D8D #2E3CBF

Accessibility & contrast

On white

15.39
#161D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D5C
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D5C#FFFFFF#000000##FFFFFF
##161D5C1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00215B
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161d5c;
/* rgb */ color: rgb(22, 29, 92);
/* oklch */ color: oklch(27.2% 0.112 271.7);
Tailwind
colors: {
  custom: {
    50: '#5f598b',
    500: '#161d5c',
    950: '#000000',
  },
}
SCSS
$custom: #161d5c;
$custom-light: #5f598b;
$custom-dark: #000000;
JSON
{
  "hex": "#161d5c",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 234,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27155,
    "c": 0.11154,
    "h": 271.7
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#161D5C
secondary
#938A3B
accent
#D443E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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