#161A47#161A47

#161A47 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.5% C 0.083 H 274.6°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#161A47
RGBrgb(22, 26, 71)
HSLhsl(235, 53%, 18%)
HSVhsv(235, 69%, 28%)
CMYKcmyk(69%, 63.4%, 0%, 72.2%)
CIE-LABlab(11.72, 14.72, -28.85)
CIE-LCHlch(11.72, 32.39, 297.03°)
OKLaboklab(24.47% 0.0067 -0.0829)
OKLCHoklch(24.47% 0.083 274.6)
XYZxyz(1.8372, 1.3641, 6.1265)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A47 #474316
analogous
#163247 #161A47 #2A1647
triadic
#161A47 #47161A #1A4716
tetradic
#161A47 #471632 #474316 #16472A
square
#161A47 #471632 #474316 #16472A
split-complementary
#161A47 #472A16 #324716
monochromatic
#070917 #080918 #161A47 #242B76 #333CA4

Accessibility & contrast

On white

16.50
#161A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#161A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A47
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A47#FFFFFF#000000##FFFFFF
##161A471.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161a47;
/* rgb */ color: rgb(22, 26, 71);
/* oklch */ color: oklch(24.5% 0.083 274.6);
Tailwind
colors: {
  custom: {
    50: '#5a567b',
    500: '#161a47',
    950: '#000000',
  },
}
SCSS
$custom: #161a47;
$custom-light: #5a567b;
$custom-dark: #000000;
JSON
{
  "hex": "#161a47",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 235.102,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24474,
    "c": 0.08316,
    "h": 274.6
  },
  "luminance": 0.01364
}

Semantic roles & 50–950 ramp

primary
#161A47
secondary
#7E793A
accent
#D04CDC
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #161A47

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

Preview Lab → · Contrast checker → · Palette generator →

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