#161B42#161B42

#161B42 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.073 H 274.1°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#161B42
RGBrgb(22, 27, 66)
HSLhsl(233, 50%, 17%)
HSVhsv(233, 67%, 26%)
CMYKcmyk(66.7%, 59.1%, 0%, 74.1%)
CIE-LABlab(11.61, 11.92, -25.54)
CIE-LCHlch(11.61, 28.18, 295.03°)
OKLaboklab(24.26% 0.0053 -0.0731)
OKLCHoklch(24.26% 0.073 274.1)
XYZxyz(1.7059, 1.3477, 5.3234)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B42 #423D16
analogous
#163142 #161B42 #271642
triadic
#161B42 #42161B #1B4216
tetradic
#161B42 #421631 #423D16 #164227
square
#161B42 #421631 #423D16 #164227
split-complementary
#161B42 #422716 #314216
monochromatic
#080917 #080917 #161B42 #252E70 #35419E

Accessibility & contrast

On white

16.54
#161B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B42
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B42#FFFFFF#000000##FFFFFF
##161B421.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052143
Deuteranopia (green-blind)
#001D41
Tritanopia (blue-blind)
#00242B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161b42;
/* rgb */ color: rgb(22, 27, 66);
/* oklch */ color: oklch(24.3% 0.073 274.1);
Tailwind
colors: {
  custom: {
    50: '#585777',
    500: '#161b42',
    950: '#000000',
  },
}
SCSS
$custom: #161b42;
$custom-light: #585777;
$custom-dark: #000000;
JSON
{
  "hex": "#161b42",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 233.182,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24257,
    "c": 0.07332,
    "h": 274.1
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#161B42
secondary
#79723A
accent
#CA4EDA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040308
muted
#79787B

Preview Lab

Preview with #161B42

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

Preview Lab → · Contrast checker → · Palette generator →

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