#161B3E#161B3E

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

Color values

HEX#161B3E
RGBrgb(22, 27, 62)
HSLhsl(233, 48%, 16%)
HSVhsv(233, 65%, 24%)
CMYKcmyk(64.5%, 56.5%, 0%, 75.7%)
CIE-LABlab(11.29, 10.30, -23.22)
CIE-LCHlch(11.29, 25.41, 293.92°)
OKLaboklab(23.92% 0.0048 -0.0663)
OKLCHoklch(23.92% 0.066 274.1)
XYZxyz(1.5920, 1.3021, 4.7239)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B3E #3E3916
analogous
#162F3E #161B3E #25163E
triadic
#161B3E #3E161B #1B3E16
tetradic
#161B3E #3E162F #3E3916 #163E25
square
#161B3E #3E162F #3E3916 #163E25
split-complementary
#161B3E #3E2516 #2F3E16
monochromatic
#080A17 #080A17 #161B3E #262F6B #364298

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##161B3E#FFFFFF#000000##FFFFFF
##161B3E1.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)
#0A203F
Deuteranopia (green-blind)
#051C3D
Tritanopia (blue-blind)
#022329
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #161b3e;
/* rgb */ color: rgb(22, 27, 62);
/* oklch */ color: oklch(23.9% 0.066 274.1);
Tailwind
colors: {
  custom: {
    50: '#575773',
    500: '#161b3e',
    950: '#000000',
  },
}
SCSS
$custom: #161b3e;
$custom-light: #575773;
$custom-dark: #000000;
JSON
{
  "hex": "#161b3e",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 232.5,
    "s": 47.619,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23919,
    "c": 0.06649,
    "h": 274.1
  },
  "luminance": 0.01302
}

Semantic roles & 50–950 ramp

primary
#161B3E
secondary
#756E3B
accent
#C651D7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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