#161B4C#161B4C

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

Color values

HEX#161B4C
RGBrgb(22, 27, 76)
HSLhsl(234, 55%, 19%)
HSVhsv(234, 71%, 30%)
CMYKcmyk(71.1%, 64.5%, 0%, 70.2%)
CIE-LABlab(12.46, 16.00, -31.11)
CIE-LCHlch(12.46, 34.99, 297.22°)
OKLaboklab(25.16% 0.0057 -0.0895)
OKLCHoklch(25.16% 0.09 273.6)
XYZxyz(2.0269, 1.4761, 7.0142)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B4C #4C4716
analogous
#16364C #161B4C #2C164C
triadic
#161B4C #4C161B #1B4C16
tetradic
#161B4C #4C1636 #4C4716 #164C2C
square
#161B4C #4C1636 #4C4716 #164C2C
split-complementary
#161B4C #4C2C16 #364C16
monochromatic
#070818 #080A1D #161B4C #242C7B #313DAB

Accessibility & contrast

On white

16.21
#161B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B4C
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B4C#FFFFFF#000000##FFFFFF
##161B4C1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#001E4B
Tritanopia (blue-blind)
#002730
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161b4c;
/* rgb */ color: rgb(22, 27, 76);
/* oklch */ color: oklch(25.2% 0.090 273.6);
Tailwind
colors: {
  custom: {
    50: '#5b577e',
    500: '#161b4c',
    950: '#000000',
  },
}
SCSS
$custom: #161b4c;
$custom-light: #5b577e;
$custom-dark: #000000;
JSON
{
  "hex": "#161b4c",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 234.444,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25162,
    "c": 0.08971,
    "h": 273.6
  },
  "luminance": 0.01476
}

Semantic roles & 50–950 ramp

primary
#161B4C
secondary
#847D3A
accent
#D149DE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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