#161C42#161C42

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

Color values

HEX#161C42
RGBrgb(22, 28, 66)
HSLhsl(232, 50%, 17%)
HSVhsv(232, 67%, 26%)
CMYKcmyk(66.7%, 57.6%, 0%, 74.1%)
CIE-LABlab(11.92, 11.16, -25.03)
CIE-LCHlch(11.92, 27.41, 294.03°)
OKLaboklab(24.49% 0.004 -0.0716)
OKLCHoklch(24.49% 0.072 273.2)
XYZxyz(1.7292, 1.3943, 5.3312)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C42 #423C16
analogous
#163242 #161C42 #261642
triadic
#161C42 #42161C #1C4216
tetradic
#161C42 #421632 #423C16 #164226
square
#161C42 #421632 #423C16 #164226
split-complementary
#161C42 #422616 #324216
monochromatic
#080A17 #080A17 #161C42 #252F70 #35439E

Accessibility & contrast

On white

16.42
#161C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#161C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C42
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C42#FFFFFF#000000##FFFFFF
##161C421.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082143
Deuteranopia (green-blind)
#021E41
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161c42;
/* rgb */ color: rgb(22, 28, 66);
/* oklch */ color: oklch(24.5% 0.072 273.2);
Tailwind
colors: {
  custom: {
    50: '#585777',
    500: '#161c42',
    950: '#000000',
  },
}
SCSS
$custom: #161c42;
$custom-light: #585777;
$custom-dark: #000000;
JSON
{
  "hex": "#161c42",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 66
  },
  "hsl": {
    "h": 231.818,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24494,
    "c": 0.07173,
    "h": 273.2
  },
  "luminance": 0.01394
}

Semantic roles & 50–950 ramp

primary
#161C42
secondary
#79713A
accent
#C74EDA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040308
muted
#79787B

Preview Lab

Preview with #161C42

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

Preview Lab → · Contrast checker → · Palette generator →

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