#161F3E#161F3E

#161F3E is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.060 H 269.5°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#161F3E
RGBrgb(22, 31, 62)
HSLhsl(227, 48%, 16%)
HSVhsv(227, 65%, 24%)
CMYKcmyk(64.5%, 50%, 0%, 75.7%)
CIE-LABlab(12.60, 7.24, -21.13)
CIE-LCHlch(12.60, 22.34, 288.92°)
OKLaboklab(24.91% -0.0005 -0.0601)
OKLCHoklch(24.91% 0.06 269.5)
XYZxyz(1.6901, 1.4982, 4.7566)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F3E #3E3516
analogous
#16333E #161F3E #21163E
triadic
#161F3E #3E161F #1F3E16
tetradic
#161F3E #3E1633 #3E3516 #163E21
square
#161F3E #3E1633 #3E3516 #163E21
split-complementary
#161F3E #3E2116 #333E16
monochromatic
#080B17 #080B17 #161F3E #26366B #364C98

Accessibility & contrast

On white

16.16
#161F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#161F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F3E
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F3E#FFFFFF#000000##FFFFFF
##161F3E1.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11233F
Deuteranopia (green-blind)
#0C1F3D
Tritanopia (blue-blind)
#01262B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161f3e;
/* rgb */ color: rgb(22, 31, 62);
/* oklch */ color: oklch(24.9% 0.060 269.5);
Tailwind
colors: {
  custom: {
    50: '#575a73',
    500: '#161f3e',
    950: '#000000',
  },
}
SCSS
$custom: #161f3e;
$custom-light: #575a73;
$custom-dark: #000000;
JSON
{
  "hex": "#161f3e",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 62
  },
  "hsl": {
    "h": 226.5,
    "s": 47.619,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24914,
    "c": 0.06013,
    "h": 269.5
  },
  "luminance": 0.01498
}

Semantic roles & 50–950 ramp

primary
#161F3E
secondary
#75683B
accent
#B951D7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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