#161D5B#161D5B

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

Color values

HEX#161D5B
RGBrgb(22, 29, 91)
HSLhsl(234, 61%, 22%)
HSVhsv(234, 76%, 36%)
CMYKcmyk(75.8%, 68.1%, 0%, 64.3%)
CIE-LABlab(14.43, 20.62, -38.09)
CIE-LCHlch(14.43, 43.31, 298.43°)
OKLaboklab(27.05% 0.0034 -0.11)
OKLCHoklch(27.05% 0.11 271.8)
XYZxyz(2.6579, 1.8044, 10.1037)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D5B #5B5416
analogous
#16405B #161D5B #32165B
triadic
#161D5B #5B161D #1D5B16
tetradic
#161D5B #5B1640 #5B5416 #165B32
square
#161D5B #5B1640 #5B5416 #165B32
split-complementary
#161D5B #5B3216 #405B16
monochromatic
#060819 #0A0D2A #161D5B #222D8C #2E3CBE

Accessibility & contrast

On white

15.43
#161D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D5B
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D5B#FFFFFF#000000##FFFFFF
##161D5B1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161d5b;
/* rgb */ color: rgb(22, 29, 91);
/* oklch */ color: oklch(27.1% 0.110 271.8);
Tailwind
colors: {
  custom: {
    50: '#5f598a',
    500: '#161d5b',
    950: '#000000',
  },
}
SCSS
$custom: #161d5b;
$custom-light: #5f598a;
$custom-dark: #000000;
JSON
{
  "hex": "#161d5b",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 91
  },
  "hsl": {
    "h": 233.913,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27053,
    "c": 0.11004,
    "h": 271.8
  },
  "luminance": 0.01805
}

Semantic roles & 50–950 ramp

primary
#161D5B
secondary
#92893B
accent
#D444E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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