#161F59#161F59

#161F59 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.104 H 271.0°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#161F59
RGBrgb(22, 31, 89)
HSLhsl(232, 60%, 22%)
HSVhsv(232, 75%, 35%)
CMYKcmyk(75.3%, 65.2%, 0%, 65.1%)
CIE-LABlab(14.80, 18.35, -36.14)
CIE-LCHlch(14.80, 40.53, 296.92°)
OKLaboklab(27.27% 0.0018 -0.1042)
OKLCHoklch(27.27% 0.104 271)
XYZxyz(2.6234, 1.8716, 9.6722)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161F59 #595016
analogous
#164159 #161F59 #2F1659
triadic
#161F59 #59161F #1F5916
tetradic
#161F59 #591641 #595016 #16592F
square
#161F59 #591641 #595016 #16592F
split-complementary
#161F59 #592F16 #415916
monochromatic
#060919 #0A0E28 #161F59 #22308A #2E41BB

Accessibility & contrast

On white

15.28
#161F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#161F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161F59
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161F59#FFFFFF#000000##FFFFFF
##161F591.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#002E38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161f59;
/* rgb */ color: rgb(22, 31, 89);
/* oklch */ color: oklch(27.3% 0.104 271.0);
Tailwind
colors: {
  custom: {
    50: '#5e5a88',
    500: '#161f59',
    950: '#000000',
  },
}
SCSS
$custom: #161f59;
$custom-light: #5e5a88;
$custom-dark: #000000;
JSON
{
  "hex": "#161f59",
  "rgb": {
    "r": 22,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 231.94,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.2727,
    "c": 0.10427,
    "h": 271
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#161F59
secondary
#90853B
accent
#CE44E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #161F59

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

Preview Lab → · Contrast checker → · Palette generator →

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