#161C59#161C59

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

Color values

HEX#161C59
RGBrgb(22, 28, 89)
HSLhsl(235, 60%, 22%)
HSVhsv(235, 75%, 35%)
CMYKcmyk(75.3%, 68.5%, 0%, 65.1%)
CIE-LABlab(13.96, 20.54, -37.51)
CIE-LCHlch(13.96, 42.77, 298.70°)
OKLaboklab(26.65% 0.0043 -0.1083)
OKLCHoklch(26.65% 0.108 272.3)
XYZxyz(2.5487, 1.7221, 9.6473)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C59 #595316
analogous
#163E59 #161C59 #321659
triadic
#161C59 #59161C #1C5916
tetradic
#161C59 #59163E #595316 #165932
square
#161C59 #59163E #595316 #165932
split-complementary
#161C59 #593216 #3E5916
monochromatic
#060819 #0A0D28 #161C59 #222B8A #2E3BBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##161C59#FFFFFF#000000##FFFFFF
##161C591.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)
#00275B
Deuteranopia (green-blind)
#002058
Tritanopia (blue-blind)
#002C37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161c59;
/* rgb */ color: rgb(22, 28, 89);
/* oklch */ color: oklch(26.6% 0.108 272.3);
Tailwind
colors: {
  custom: {
    50: '#5e5889',
    500: '#161c59',
    950: '#000000',
  },
}
SCSS
$custom: #161c59;
$custom-light: #5e5889;
$custom-dark: #000000;
JSON
{
  "hex": "#161c59",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 89
  },
  "hsl": {
    "h": 234.627,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26648,
    "c": 0.1084,
    "h": 272.3
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#161C59
secondary
#90893B
accent
#D544E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #161C59

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

Preview Lab → · Contrast checker → · Palette generator →

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