#161C56#161C56

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

Color values

HEX#161C56
RGBrgb(22, 28, 86)
HSLhsl(234, 59%, 21%)
HSVhsv(234, 74%, 34%)
CMYKcmyk(74.4%, 67.4%, 0%, 66.3%)
CIE-LABlab(13.67, 19.33, -35.96)
CIE-LCHlch(13.67, 40.83, 298.26°)
OKLaboklab(26.35% 0.0045 -0.1038)
OKLCHoklch(26.35% 0.104 272.5)
XYZxyz(2.4253, 1.6727, 8.9974)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C56 #565016
analogous
#163C56 #161C56 #301656
triadic
#161C56 #56161C #1C5616
tetradic
#161C56 #56163C #565016 #165630
square
#161C56 #56163C #565016 #165630
split-complementary
#161C56 #563016 #3C5616
monochromatic
#060818 #0A0C25 #161C56 #222C87 #2F3CB7

Accessibility & contrast

On white

15.74
#161C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#161C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C56
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C56#FFFFFF#000000##FFFFFF
##161C561.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161c56;
/* rgb */ color: rgb(22, 28, 86);
/* oklch */ color: oklch(26.3% 0.104 272.5);
Tailwind
colors: {
  custom: {
    50: '#5d5886',
    500: '#161c56',
    950: '#000000',
  },
}
SCSS
$custom: #161c56;
$custom-light: #5d5886;
$custom-dark: #000000;
JSON
{
  "hex": "#161c56",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 234.375,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26346,
    "c": 0.10387,
    "h": 272.5
  },
  "luminance": 0.01673
}

Semantic roles & 50–950 ramp

primary
#161C56
secondary
#8D863A
accent
#D445E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161C56

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

Preview Lab → · Contrast checker → · Palette generator →

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