#161C4B#161C4B

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

Color values

HEX#161C4B
RGBrgb(22, 28, 75)
HSLhsl(233, 55%, 19%)
HSVhsv(233, 71%, 29%)
CMYKcmyk(70.7%, 62.7%, 0%, 70.6%)
CIE-LABlab(12.66, 14.84, -30.08)
CIE-LCHlch(12.66, 33.55, 296.26°)
OKLaboklab(25.29% 0.0046 -0.0865)
OKLCHoklch(25.29% 0.087 273.1)
XYZxyz(2.0157, 1.5089, 6.8403)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C4B #4B4516
analogous
#16374B #161C4B #2B164B
triadic
#161C4B #4B161C #1C4B16
tetradic
#161C4B #4B1637 #4B4516 #164B2B
square
#161C4B #4B1637 #4B4516 #164B2B
split-complementary
#161C4B #4B2B16 #374B16
monochromatic
#070918 #080A1C #161C4B #242E7A #323FAA

Accessibility & contrast

On white

16.13
#161C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C4B
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C4B#FFFFFF#000000##FFFFFF
##161C4B1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161c4b;
/* rgb */ color: rgb(22, 28, 75);
/* oklch */ color: oklch(25.3% 0.087 273.1);
Tailwind
colors: {
  custom: {
    50: '#5a577e',
    500: '#161c4b',
    950: '#000000',
  },
}
SCSS
$custom: #161c4b;
$custom-light: #5a577e;
$custom-dark: #000000;
JSON
{
  "hex": "#161c4b",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 75
  },
  "hsl": {
    "h": 233.208,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2529,
    "c": 0.08661,
    "h": 273.1
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#161C4B
secondary
#837A3A
accent
#CD4ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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