#161B4D#161B4D

#161B4D is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.091 H 273.6°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#161B4D
RGBrgb(22, 27, 77)
HSLhsl(235, 56%, 19%)
HSVhsv(235, 71%, 30%)
CMYKcmyk(71.4%, 64.9%, 0%, 69.8%)
CIE-LABlab(12.54, 16.41, -31.66)
CIE-LCHlch(12.54, 35.66, 297.40°)
OKLaboklab(25.26% 0.0057 -0.0911)
OKLCHoklch(25.26% 0.091 273.6)
XYZxyz(2.0619, 1.4901, 7.1987)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B4D #4D4816
analogous
#16374D #161B4D #2D164D
triadic
#161B4D #4D161B #1B4D16
tetradic
#161B4D #4D1637 #4D4816 #164D2D
square
#161B4D #4D1637 #4D4816 #164D2D
split-complementary
#161B4D #4D2D16 #374D16
monochromatic
#070818 #080A1D #161B4D #242C7D #313CAC

Accessibility & contrast

On white

16.18
#161B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#161B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B4D
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B4D#FFFFFF#000000##FFFFFF
##161B4D1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#001E4C
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161b4d;
/* rgb */ color: rgb(22, 27, 77);
/* oklch */ color: oklch(25.3% 0.091 273.6);
Tailwind
colors: {
  custom: {
    50: '#5b577f',
    500: '#161b4d',
    950: '#000000',
  },
}
SCSS
$custom: #161b4d;
$custom-light: #5b577f;
$custom-dark: #000000;
JSON
{
  "hex": "#161b4d",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 234.545,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25257,
    "c": 0.09131,
    "h": 273.6
  },
  "luminance": 0.0149
}

Semantic roles & 50–950 ramp

primary
#161B4D
secondary
#857E3A
accent
#D149DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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