#161A4D#161A4D

#161A4D is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.093 H 274.1°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#161A4D
RGBrgb(22, 26, 77)
HSLhsl(236, 56%, 19%)
HSVhsv(236, 71%, 30%)
CMYKcmyk(71.4%, 66.2%, 0%, 69.8%)
CIE-LABlab(12.25, 17.15, -32.13)
CIE-LCHlch(12.25, 36.42, 298.10°)
OKLaboklab(25.04% 0.0067 -0.0925)
OKLCHoklch(25.04% 0.093 274.1)
XYZxyz(2.0394, 1.4450, 7.1912)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A4D #4D4916
analogous
#16364D #161A4D #2E164D
triadic
#161A4D #4D161A #1A4D16
tetradic
#161A4D #4D1636 #4D4916 #164D2E
square
#161A4D #4D1636 #4D4916 #164D2E
split-complementary
#161A4D #4D2E16 #364D16
monochromatic
#070818 #080A1D #161A4D #242A7D #313AAC

Accessibility & contrast

On white

16.29
#161A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161A4D
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A4D#FFFFFF#000000##FFFFFF
##161A4D1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161a4d;
/* rgb */ color: rgb(22, 26, 77);
/* oklch */ color: oklch(25.0% 0.093 274.1);
Tailwind
colors: {
  custom: {
    50: '#5b567f',
    500: '#161a4d',
    950: '#000000',
  },
}
SCSS
$custom: #161a4d;
$custom-light: #5b567f;
$custom-dark: #000000;
JSON
{
  "hex": "#161a4d",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 235.636,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25041,
    "c": 0.09277,
    "h": 274.1
  },
  "luminance": 0.01445
}

Semantic roles & 50–950 ramp

primary
#161A4D
secondary
#857F3A
accent
#D449DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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