#161C3E#161C3E

#161C3E is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.2% C 0.065 H 273.1°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#161C3E
RGBrgb(22, 28, 62)
HSLhsl(231, 48%, 16%)
HSVhsv(231, 65%, 24%)
CMYKcmyk(64.5%, 54.8%, 0%, 75.7%)
CIE-LABlab(11.61, 9.53, -22.71)
CIE-LCHlch(11.61, 24.63, 292.77°)
OKLaboklab(24.16% 0.0035 -0.0648)
OKLCHoklch(24.16% 0.065 273.1)
XYZxyz(1.6153, 1.3488, 4.7317)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C3E #3E3816
analogous
#16303E #161C3E #24163E
triadic
#161C3E #3E161C #1C3E16
tetradic
#161C3E #3E1630 #3E3816 #163E24
square
#161C3E #3E1630 #3E3816 #163E24
split-complementary
#161C3E #3E2416 #303E16
monochromatic
#080A17 #080A17 #161C3E #26306B #364598

Accessibility & contrast

On white

16.54
#161C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#161C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C3E
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C3E#FFFFFF#000000##FFFFFF
##161C3E1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C213F
Deuteranopia (green-blind)
#061D3D
Tritanopia (blue-blind)
#02242A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161c3e;
/* rgb */ color: rgb(22, 28, 62);
/* oklch */ color: oklch(24.2% 0.065 273.1);
Tailwind
colors: {
  custom: {
    50: '#575773',
    500: '#161c3e',
    950: '#000000',
  },
}
SCSS
$custom: #161c3e;
$custom-light: #575773;
$custom-dark: #000000;
JSON
{
  "hex": "#161c3e",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 62
  },
  "hsl": {
    "h": 231,
    "s": 47.619,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24163,
    "c": 0.06488,
    "h": 273.1
  },
  "luminance": 0.01349
}

Semantic roles & 50–950 ramp

primary
#161C3E
secondary
#756C3B
accent
#C351D7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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