#161F38#161F38

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

Color values

HEX#161F38
RGBrgb(22, 31, 56)
HSLhsl(224, 44%, 15%)
HSVhsv(224, 61%, 22%)
CMYKcmyk(60.7%, 44.6%, 0%, 78%)
CIE-LABlab(12.20, 4.84, -17.52)
CIE-LCHlch(12.20, 18.18, 285.43°)
OKLaboklab(24.47% -0.002 -0.0496)
OKLCHoklch(24.47% 0.05 267.7)
XYZxyz(1.5344, 1.4360, 3.9369)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F38 #382F16
analogous
#163038 #161F38 #1E1638
triadic
#161F38 #38161F #1F3816
tetradic
#161F38 #381630 #382F16 #16381E
square
#161F38 #381630 #382F16 #16381E
split-complementary
#161F38 #381E16 #303816
monochromatic
#090C16 #090C16 #161F38 #273764 #395090

Accessibility & contrast

On white

16.31
#161F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161F38
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F38#FFFFFF#000000##FFFFFF
##161F381.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152239
Deuteranopia (green-blind)
#111E37
Tritanopia (blue-blind)
#062428
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161f38;
/* rgb */ color: rgb(22, 31, 56);
/* oklch */ color: oklch(24.5% 0.050 267.7);
Tailwind
colors: {
  custom: {
    50: '#565a6e',
    500: '#161f38',
    950: '#000000',
  },
}
SCSS
$custom: #161f38;
$custom-light: #565a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#161f38",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 56
  },
  "hsl": {
    "h": 224.118,
    "s": 43.59,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24474,
    "c": 0.0496,
    "h": 267.7
  },
  "luminance": 0.01436
}

Semantic roles & 50–950 ramp

primary
#161F38
secondary
#6F613B
accent
#B254D3
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030307
muted
#78787A

Preview Lab

Preview with #161F38

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

Preview Lab → · Contrast checker → · Palette generator →

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