#161E42#161E42

#161E42 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.069 H 271.2°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#161E42
RGBrgb(22, 30, 66)
HSLhsl(229, 50%, 17%)
HSVhsv(229, 67%, 26%)
CMYKcmyk(66.7%, 54.5%, 0%, 74.1%)
CIE-LABlab(12.56, 9.64, -24.00)
CIE-LCHlch(12.56, 25.86, 291.87°)
OKLaboklab(24.98% 0.0015 -0.0686)
OKLCHoklch(24.98% 0.069 271.2)
XYZxyz(1.7782, 1.4923, 5.3475)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E42 #423A16
analogous
#163442 #161E42 #241642
triadic
#161E42 #42161E #1E4216
tetradic
#161E42 #421634 #423A16 #164224
square
#161E42 #421634 #423A16 #164224
split-complementary
#161E42 #422416 #344216
monochromatic
#080A17 #080A17 #161E42 #253370 #35489E

Accessibility & contrast

On white

16.17
#161E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161E42
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E42#FFFFFF#000000##FFFFFF
##161E421.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2343
Deuteranopia (green-blind)
#061F41
Tritanopia (blue-blind)
#00262C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161e42;
/* rgb */ color: rgb(22, 30, 66);
/* oklch */ color: oklch(25.0% 0.069 271.2);
Tailwind
colors: {
  custom: {
    50: '#585976',
    500: '#161e42',
    950: '#000000',
  },
}
SCSS
$custom: #161e42;
$custom-light: #585976;
$custom-dark: #000000;
JSON
{
  "hex": "#161e42",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 66
  },
  "hsl": {
    "h": 229.091,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24979,
    "c": 0.06859,
    "h": 271.2
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#161E42
secondary
#796E3A
accent
#C04EDA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161E42

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

Preview Lab → · Contrast checker → · Palette generator →

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