#161A51#161A51

#161A51 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.099 H 273.8°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#161A51
RGBrgb(22, 26, 81)
HSLhsl(236, 57%, 20%)
HSVhsv(236, 73%, 32%)
CMYKcmyk(72.8%, 67.9%, 0%, 68.2%)
CIE-LABlab(12.63, 18.77, -34.26)
CIE-LCHlch(12.63, 39.07, 298.72°)
OKLaboklab(25.44% 0.0065 -0.0988)
OKLCHoklch(25.44% 0.099 273.8)
XYZxyz(2.1850, 1.5032, 7.9580)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A51 #514D16
analogous
#163851 #161A51 #2F1651
triadic
#161A51 #51161A #1A5116
tetradic
#161A51 #511638 #514D16 #16512F
square
#161A51 #511638 #514D16 #16512F
split-complementary
#161A51 #512F16 #385116
monochromatic
#070818 #090B21 #161A51 #232981 #3039B1

Accessibility & contrast

On white

16.15
#161A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161A51
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A51#FFFFFF#000000##FFFFFF
##161A511.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002353
Deuteranopia (green-blind)
#001E50
Tritanopia (blue-blind)
#002832
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161a51;
/* rgb */ color: rgb(22, 26, 81);
/* oklch */ color: oklch(25.4% 0.099 273.8);
Tailwind
colors: {
  custom: {
    50: '#5c5682',
    500: '#161a51',
    950: '#000000',
  },
}
SCSS
$custom: #161a51;
$custom-light: #5c5682;
$custom-dark: #000000;
JSON
{
  "hex": "#161a51",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 81
  },
  "hsl": {
    "h": 235.932,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25435,
    "c": 0.09901,
    "h": 273.8
  },
  "luminance": 0.01503
}

Semantic roles & 50–950 ramp

primary
#161A51
secondary
#88833A
accent
#D647E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #161A51

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

Preview Lab → · Contrast checker → · Palette generator →

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