#161D56#161D56

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

Color values

HEX#161D56
RGBrgb(22, 29, 86)
HSLhsl(233, 59%, 21%)
HSVhsv(233, 74%, 34%)
CMYKcmyk(74.4%, 66.3%, 0%, 66.3%)
CIE-LABlab(13.95, 18.60, -35.50)
CIE-LCHlch(13.95, 40.08, 297.65°)
OKLaboklab(26.56% 0.0036 -0.1024)
OKLCHoklch(26.56% 0.102 272)
XYZxyz(2.4494, 1.7210, 9.0054)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D56 #564F16
analogous
#163D56 #161D56 #2F1656
triadic
#161D56 #56161D #1D5616
tetradic
#161D56 #56163D #564F16 #16562F
square
#161D56 #56163D #564F16 #16562F
split-complementary
#161D56 #562F16 #3D5616
monochromatic
#060818 #0A0D25 #161D56 #222D87 #2F3EB7

Accessibility & contrast

On white

15.62
#161D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#161D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D56
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D56#FFFFFF#000000##FFFFFF
##161D561.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002155
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161d56;
/* rgb */ color: rgb(22, 29, 86);
/* oklch */ color: oklch(26.6% 0.102 272.0);
Tailwind
colors: {
  custom: {
    50: '#5d5886',
    500: '#161d56',
    950: '#000000',
  },
}
SCSS
$custom: #161d56;
$custom-light: #5d5886;
$custom-dark: #000000;
JSON
{
  "hex": "#161d56",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 233.438,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26555,
    "c": 0.10246,
    "h": 272
  },
  "luminance": 0.01721
}

Semantic roles & 50–950 ramp

primary
#161D56
secondary
#8D843A
accent
#D145E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161D56

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

Preview Lab → · Contrast checker → · Palette generator →

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