#161D3F#161D3F

#161D3F is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.065 H 272.0°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#161D3F
RGBrgb(22, 29, 63)
HSLhsl(230, 48%, 17%)
HSVhsv(230, 65%, 25%)
CMYKcmyk(65.1%, 54%, 0%, 75.3%)
CIE-LABlab(12.01, 9.17, -22.77)
CIE-LCHlch(12.01, 24.55, 291.94°)
OKLaboklab(24.49% 0.0023 -0.065)
OKLCHoklch(24.49% 0.065 272)
XYZxyz(1.6672, 1.4081, 4.8856)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D3F #3F3816
analogous
#16323F #161D3F #24163F
triadic
#161D3F #3F161D #1D3F16
tetradic
#161D3F #3F1632 #3F3816 #163F24
square
#161D3F #3F1632 #3F3816 #163F24
split-complementary
#161D3F #3F2416 #323F16
monochromatic
#080A17 #080A17 #161D3F #26326C #36479A

Accessibility & contrast

On white

16.39
#161D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#161D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D3F
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D3F#FFFFFF#000000##FFFFFF
##161D3F1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2140
Deuteranopia (green-blind)
#071E3E
Tritanopia (blue-blind)
#01252A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161d3f;
/* rgb */ color: rgb(22, 29, 63);
/* oklch */ color: oklch(24.5% 0.065 272.0);
Tailwind
colors: {
  custom: {
    50: '#575874',
    500: '#161d3f',
    950: '#000000',
  },
}
SCSS
$custom: #161d3f;
$custom-light: #575874;
$custom-dark: #000000;
JSON
{
  "hex": "#161d3f",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 63
  },
  "hsl": {
    "h": 229.756,
    "s": 48.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2449,
    "c": 0.06502,
    "h": 272
  },
  "luminance": 0.01408
}

Semantic roles & 50–950 ramp

primary
#161D3F
secondary
#766C3B
accent
#C150D8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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