#161B4B#161B4B

#161B4B is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.088 H 273.7°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#161B4B
RGBrgb(22, 27, 75)
HSLhsl(234, 55%, 19%)
HSVhsv(234, 71%, 29%)
CMYKcmyk(70.7%, 64%, 0%, 70.6%)
CIE-LABlab(12.37, 15.59, -30.57)
CIE-LCHlch(12.37, 34.32, 297.03°)
OKLaboklab(25.07% 0.0057 -0.0879)
OKLCHoklch(25.07% 0.088 273.7)
XYZxyz(1.9924, 1.4623, 6.8325)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B4B #4B4616
analogous
#16364B #161B4B #2C164B
triadic
#161B4B #4B161B #1B4B16
tetradic
#161B4B #4B1636 #4B4616 #164B2C
square
#161B4B #4B1636 #4B4616 #164B2C
split-complementary
#161B4B #4B2C16 #364B16
monochromatic
#070918 #080A1C #161B4B #242C7A #323DAA

Accessibility & contrast

On white

16.25
#161B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#161B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B4B
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B4B#FFFFFF#000000##FFFFFF
##161B4B1.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161b4b;
/* rgb */ color: rgb(22, 27, 75);
/* oklch */ color: oklch(25.1% 0.088 273.7);
Tailwind
colors: {
  custom: {
    50: '#5a577e',
    500: '#161b4b',
    950: '#000000',
  },
}
SCSS
$custom: #161b4b;
$custom-light: #5a577e;
$custom-dark: #000000;
JSON
{
  "hex": "#161b4b",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 234.34,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25068,
    "c": 0.08811,
    "h": 273.7
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#161B4B
secondary
#837C3A
accent
#D04ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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