#161D57#161D57

#161D57 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.7% C 0.104 H 272.0°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#161D57
RGBrgb(22, 29, 87)
HSLhsl(234, 60%, 21%)
HSVhsv(234, 75%, 34%)
CMYKcmyk(74.7%, 66.7%, 0%, 65.9%)
CIE-LABlab(14.04, 19.00, -36.02)
CIE-LCHlch(14.04, 40.73, 297.81°)
OKLaboklab(26.65% 0.0036 -0.1039)
OKLCHoklch(26.65% 0.104 272)
XYZxyz(2.4900, 1.7372, 9.2191)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D57 #575016
analogous
#163E57 #161D57 #301657
triadic
#161D57 #57161D #1D5716
tetradic
#161D57 #57163E #575016 #165730
square
#161D57 #57163E #575016 #165730
split-complementary
#161D57 #573016 #3E5716
monochromatic
#060818 #0A0D26 #161D57 #222D88 #2F3EB9

Accessibility & contrast

On white

15.59
#161D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#161D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D57
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D57#FFFFFF#000000##FFFFFF
##161D571.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002759
Deuteranopia (green-blind)
#002156
Tritanopia (blue-blind)
#002C36
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161d57;
/* rgb */ color: rgb(22, 29, 87);
/* oklch */ color: oklch(26.7% 0.104 272.0);
Tailwind
colors: {
  custom: {
    50: '#5d5887',
    500: '#161d57',
    950: '#000000',
  },
}
SCSS
$custom: #161d57;
$custom-light: #5d5887;
$custom-dark: #000000;
JSON
{
  "hex": "#161d57",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 87
  },
  "hsl": {
    "h": 233.538,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26653,
    "c": 0.10399,
    "h": 272
  },
  "luminance": 0.01737
}

Semantic roles & 50–950 ramp

primary
#161D57
secondary
#8E853A
accent
#D245E3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161D57

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

Preview Lab → · Contrast checker → · Palette generator →

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