#161A42#161A42

#161A42 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.075 H 275.0°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#161A42
RGBrgb(22, 26, 66)
HSLhsl(235, 50%, 17%)
HSVhsv(235, 67%, 26%)
CMYKcmyk(66.7%, 60.6%, 0%, 74.1%)
CIE-LABlab(11.29, 12.68, -26.04)
CIE-LCHlch(11.29, 28.96, 295.97°)
OKLaboklab(24.02% 0.0065 -0.0746)
OKLCHoklch(24.02% 0.075 275)
XYZxyz(1.6833, 1.3026, 5.3159)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A42 #423E16
analogous
#163042 #161A42 #281642
triadic
#161A42 #42161A #1A4216
tetradic
#161A42 #421630 #423E16 #164228
square
#161A42 #421630 #423E16 #164228
split-complementary
#161A42 #422816 #304216
monochromatic
#080917 #080917 #161A42 #252C70 #353E9E

Accessibility & contrast

On white

16.66
#161A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#161A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A42
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A42#FFFFFF#000000##FFFFFF
##161A421.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032043
Deuteranopia (green-blind)
#001C41
Tritanopia (blue-blind)
#00232B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #161a42;
/* rgb */ color: rgb(22, 26, 66);
/* oklch */ color: oklch(24.0% 0.075 275.0);
Tailwind
colors: {
  custom: {
    50: '#585677',
    500: '#161a42',
    950: '#000000',
  },
}
SCSS
$custom: #161a42;
$custom-light: #585677;
$custom-dark: #000000;
JSON
{
  "hex": "#161a42",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 234.545,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24023,
    "c": 0.0749,
    "h": 275
  },
  "luminance": 0.01303
}

Semantic roles & 50–950 ramp

primary
#161A42
secondary
#79743A
accent
#CD4EDA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040308
muted
#79787B

Preview Lab

Preview with #161A42

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

Preview Lab → · Contrast checker → · Palette generator →

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