#161D42#161D42

#161D42 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.070 H 272.2°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#161D42
RGBrgb(22, 29, 66)
HSLhsl(230, 50%, 17%)
HSVhsv(230, 67%, 26%)
CMYKcmyk(66.7%, 56.1%, 0%, 74.1%)
CIE-LABlab(12.24, 10.40, -24.52)
CIE-LCHlch(12.24, 26.63, 292.98°)
OKLaboklab(24.74% 0.0028 -0.0701)
OKLCHoklch(24.74% 0.07 272.2)
XYZxyz(1.7533, 1.4425, 5.3392)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D42 #423B16
analogous
#163342 #161D42 #251642
triadic
#161D42 #42161D #1D4216
tetradic
#161D42 #421633 #423B16 #164225
square
#161D42 #421633 #423B16 #164225
split-complementary
#161D42 #422516 #334216
monochromatic
#080A17 #080A17 #161D42 #253170 #35459E

Accessibility & contrast

On white

16.30
#161D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#161D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D42
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D42#FFFFFF#000000##FFFFFF
##161D421.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2243
Deuteranopia (green-blind)
#041E41
Tritanopia (blue-blind)
#00252C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161d42;
/* rgb */ color: rgb(22, 29, 66);
/* oklch */ color: oklch(24.7% 0.070 272.2);
Tailwind
colors: {
  custom: {
    50: '#585877',
    500: '#161d42',
    950: '#000000',
  },
}
SCSS
$custom: #161d42;
$custom-light: #585877;
$custom-dark: #000000;
JSON
{
  "hex": "#161d42",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 66
  },
  "hsl": {
    "h": 230.455,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24735,
    "c": 0.07015,
    "h": 272.2
  },
  "luminance": 0.01443
}

Semantic roles & 50–950 ramp

primary
#161D42
secondary
#796F3A
accent
#C34EDA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161D42

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

Preview Lab → · Contrast checker → · Palette generator →

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