#161F39#161F39

#161F39 is a very dark, muted blue. Relative luminance 0.014; OKLCH L 24.5% C 0.051 H 268.1°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#161F39
RGBrgb(22, 31, 57)
HSLhsl(225, 44%, 15%)
HSVhsv(225, 61%, 22%)
CMYKcmyk(61.4%, 45.6%, 0%, 77.6%)
CIE-LABlab(12.26, 5.24, -18.13)
CIE-LCHlch(12.26, 18.87, 286.10°)
OKLaboklab(24.55% -0.0017 -0.0513)
OKLCHoklch(24.55% 0.051 268.1)
XYZxyz(1.5591, 1.4458, 4.0670)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F39 #393016
analogous
#163039 #161F39 #1E1639
triadic
#161F39 #39161F #1F3916
tetradic
#161F39 #391630 #393016 #16391E
square
#161F39 #391630 #393016 #16391E
split-complementary
#161F39 #391E16 #303916
monochromatic
#090C16 #090C16 #161F39 #273765 #384F91

Accessibility & contrast

On white

16.29
#161F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#161F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F39
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F39#FFFFFF#000000##FFFFFF
##161F391.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15223A
Deuteranopia (green-blind)
#111F38
Tritanopia (blue-blind)
#062529
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161f39;
/* rgb */ color: rgb(22, 31, 57);
/* oklch */ color: oklch(24.5% 0.051 268.1);
Tailwind
colors: {
  custom: {
    50: '#565a6f',
    500: '#161f39',
    950: '#000000',
  },
}
SCSS
$custom: #161f39;
$custom-light: #565a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#161f39",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 57
  },
  "hsl": {
    "h": 224.571,
    "s": 44.304,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24545,
    "c": 0.05137,
    "h": 268.1
  },
  "luminance": 0.01446
}

Semantic roles & 50–950 ramp

primary
#161F39
secondary
#70623B
accent
#B354D4
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #161F39

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

Preview Lab → · Contrast checker → · Palette generator →

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