#161D40#161D40

#161D40 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.067 H 272.1°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#161D40
RGBrgb(22, 29, 64)
HSLhsl(230, 49%, 17%)
HSVhsv(230, 66%, 25%)
CMYKcmyk(65.6%, 54.7%, 0%, 74.9%)
CIE-LABlab(12.09, 9.58, -23.36)
CIE-LCHlch(12.09, 25.25, 292.31°)
OKLaboklab(24.57% 0.0025 -0.0667)
OKLCHoklch(24.57% 0.067 272.1)
XYZxyz(1.6954, 1.4193, 5.0341)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D40 #403916
analogous
#163240 #161D40 #241640
triadic
#161D40 #40161D #1D4016
tetradic
#161D40 #401632 #403916 #164024
square
#161D40 #401632 #403916 #164024
split-complementary
#161D40 #402416 #324016
monochromatic
#080A17 #080A17 #161D40 #26326E #35469B

Accessibility & contrast

On white

16.36
#161D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D40
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D40#FFFFFF#000000##FFFFFF
##161D401.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2241
Deuteranopia (green-blind)
#061E3F
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161d40;
/* rgb */ color: rgb(22, 29, 64);
/* oklch */ color: oklch(24.6% 0.067 272.1);
Tailwind
colors: {
  custom: {
    50: '#585875',
    500: '#161d40',
    950: '#000000',
  },
}
SCSS
$custom: #161d40;
$custom-light: #585875;
$custom-dark: #000000;
JSON
{
  "hex": "#161d40",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 64
  },
  "hsl": {
    "h": 230,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24571,
    "c": 0.06674,
    "h": 272.1
  },
  "luminance": 0.01419
}

Semantic roles & 50–950 ramp

primary
#161D40
secondary
#776D3B
accent
#C24FD8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161D40

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

Preview Lab → · Contrast checker → · Palette generator →

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