#161C5D#161C5D

#161C5D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.1% C 0.114 H 272.0°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#161C5D
RGBrgb(22, 28, 93)
HSLhsl(235, 62%, 23%)
HSVhsv(235, 76%, 36%)
CMYKcmyk(76.3%, 69.9%, 0%, 63.5%)
CIE-LABlab(14.35, 22.14, -39.55)
CIE-LCHlch(14.35, 45.32, 299.24°)
OKLaboklab(27.06% 0.004 -0.1143)
OKLCHoklch(27.06% 0.114 272)
XYZxyz(2.7212, 1.7911, 10.5561)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C5D #5D5716
analogous
#163F5D #161C5D #34165D
triadic
#161C5D #5D161C #1C5D16
tetradic
#161C5D #5D163F #5D5716 #165D34
square
#161C5D #5D163F #5D5716 #165D34
split-complementary
#161C5D #5D3416 #3F5D16
monochromatic
#060719 #0A0D2C #161C5D #222B8E #2D3AC0

Accessibility & contrast

On white

15.46
#161C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C5D
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C5D#FFFFFF#000000##FFFFFF
##161C5D1.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161c5d;
/* rgb */ color: rgb(22, 28, 93);
/* oklch */ color: oklch(27.1% 0.114 272.0);
Tailwind
colors: {
  custom: {
    50: '#5f588c',
    500: '#161c5d',
    950: '#000000',
  },
}
SCSS
$custom: #161c5d;
$custom-light: #5f588c;
$custom-dark: #000000;
JSON
{
  "hex": "#161c5d",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 234.93,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27059,
    "c": 0.11435,
    "h": 272
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#161C5D
secondary
#948D3B
accent
#D743E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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