#161C57#161C57

#161C57 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.4% C 0.105 H 272.4°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#161C57
RGBrgb(22, 28, 87)
HSLhsl(234, 60%, 21%)
HSVhsv(234, 75%, 34%)
CMYKcmyk(74.7%, 67.8%, 0%, 65.9%)
CIE-LABlab(13.76, 19.73, -36.48)
CIE-LCHlch(13.76, 41.48, 298.41°)
OKLaboklab(26.45% 0.0045 -0.1053)
OKLCHoklch(26.45% 0.105 272.4)
XYZxyz(2.4659, 1.6890, 9.2110)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C57 #575116
analogous
#163D57 #161C57 #311657
triadic
#161C57 #57161C #1C5716
tetradic
#161C57 #57163D #575116 #165731
square
#161C57 #57163D #575116 #165731
split-complementary
#161C57 #573116 #3D5716
monochromatic
#060818 #0A0C26 #161C57 #222C88 #2F3BB9

Accessibility & contrast

On white

15.70
#161C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C57
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C57#FFFFFF#000000##FFFFFF
##161C571.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161c57;
/* rgb */ color: rgb(22, 28, 87);
/* oklch */ color: oklch(26.4% 0.105 272.4);
Tailwind
colors: {
  custom: {
    50: '#5e5887',
    500: '#161c57',
    950: '#000000',
  },
}
SCSS
$custom: #161c57;
$custom-light: #5e5887;
$custom-dark: #000000;
JSON
{
  "hex": "#161c57",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 87
  },
  "hsl": {
    "h": 234.462,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26446,
    "c": 0.10538,
    "h": 272.4
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

primary
#161C57
secondary
#8E873A
accent
#D445E3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161C57

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

Preview Lab → · Contrast checker → · Palette generator →

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