#161C51#161C51

#161C51 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.096 H 272.8°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#161C51
RGBrgb(22, 28, 81)
HSLhsl(234, 57%, 20%)
HSVhsv(234, 73%, 32%)
CMYKcmyk(72.8%, 65.4%, 0%, 68.2%)
CIE-LABlab(13.20, 17.30, -33.33)
CIE-LCHlch(13.20, 37.55, 297.43°)
OKLaboklab(25.86% 0.0046 -0.096)
OKLCHoklch(25.86% 0.096 272.8)
XYZxyz(2.2308, 1.5950, 7.9733)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C51 #514B16
analogous
#163A51 #161C51 #2D1651
triadic
#161C51 #51161C #1C5116
tetradic
#161C51 #51163A #514B16 #16512D
square
#161C51 #51163A #514B16 #16512D
split-complementary
#161C51 #512D16 #3A5116
monochromatic
#070818 #090B21 #161C51 #232D81 #303DB1

Accessibility & contrast

On white

15.92
#161C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#161C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C51
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C51#FFFFFF#000000##FFFFFF
##161C511.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002553
Deuteranopia (green-blind)
#001F50
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161c51;
/* rgb */ color: rgb(22, 28, 81);
/* oklch */ color: oklch(25.9% 0.096 272.8);
Tailwind
colors: {
  custom: {
    50: '#5c5882',
    500: '#161c51',
    950: '#000000',
  },
}
SCSS
$custom: #161c51;
$custom-light: #5c5882;
$custom-dark: #000000;
JSON
{
  "hex": "#161c51",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 81
  },
  "hsl": {
    "h": 233.898,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25856,
    "c": 0.09614,
    "h": 272.8
  },
  "luminance": 0.01595
}

Semantic roles & 50–950 ramp

primary
#161C51
secondary
#88813A
accent
#D147E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #161C51

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

Preview Lab → · Contrast checker → · Palette generator →

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