#161C3F#161C3F

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

Color values

HEX#161C3F
RGBrgb(22, 28, 63)
HSLhsl(231, 48%, 17%)
HSVhsv(231, 65%, 25%)
CMYKcmyk(65.1%, 55.6%, 0%, 75.3%)
CIE-LABlab(11.69, 9.94, -23.29)
CIE-LCHlch(11.69, 25.33, 293.11°)
OKLaboklab(24.24% 0.0036 -0.0665)
OKLCHoklch(24.24% 0.067 273.1)
XYZxyz(1.6430, 1.3598, 4.8776)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C3F #3F3916
analogous
#16313F #161C3F #25163F
triadic
#161C3F #3F161C #1C3F16
tetradic
#161C3F #3F1631 #3F3916 #163F25
square
#161C3F #3F1631 #3F3916 #163F25
split-complementary
#161C3F #3F2516 #313F16
monochromatic
#080A17 #080A17 #161C3F #26306C #36449A

Accessibility & contrast

On white

16.51
#161C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C3F
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C3F#FFFFFF#000000##FFFFFF
##161C3F1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2140
Deuteranopia (green-blind)
#051D3E
Tritanopia (blue-blind)
#01242A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161c3f;
/* rgb */ color: rgb(22, 28, 63);
/* oklch */ color: oklch(24.2% 0.067 273.1);
Tailwind
colors: {
  custom: {
    50: '#585774',
    500: '#161c3f',
    950: '#000000',
  },
}
SCSS
$custom: #161c3f;
$custom-light: #585774;
$custom-dark: #000000;
JSON
{
  "hex": "#161c3f",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 63
  },
  "hsl": {
    "h": 231.22,
    "s": 48.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24244,
    "c": 0.06661,
    "h": 273.1
  },
  "luminance": 0.0136
}

Semantic roles & 50–950 ramp

primary
#161C3F
secondary
#766E3B
accent
#C450D8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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