#161C54#161C54

#161C54 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.101 H 272.6°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#161C54
RGBrgb(22, 28, 84)
HSLhsl(234, 58%, 21%)
HSVhsv(234, 74%, 33%)
CMYKcmyk(73.8%, 66.7%, 0%, 67.1%)
CIE-LABlab(13.48, 18.52, -34.92)
CIE-LCHlch(13.48, 39.52, 297.94°)
OKLaboklab(26.15% 0.0046 -0.1007)
OKLCHoklch(26.15% 0.101 272.6)
XYZxyz(2.3458, 1.6410, 8.5789)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C54 #544E16
analogous
#163B54 #161C54 #2F1654
triadic
#161C54 #54161C #1C5416
tetradic
#161C54 #54163B #544E16 #16542F
square
#161C54 #54163B #544E16 #16542F
split-complementary
#161C54 #542F16 #3B5416
monochromatic
#060818 #090C24 #161C54 #232C84 #2F3CB5

Accessibility & contrast

On white

15.81
#161C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C54
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C54#FFFFFF#000000##FFFFFF
##161C541.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#002053
Tritanopia (blue-blind)
#002A35
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161c54;
/* rgb */ color: rgb(22, 28, 84);
/* oklch */ color: oklch(26.1% 0.101 272.6);
Tailwind
colors: {
  custom: {
    50: '#5d5885',
    500: '#161c54',
    950: '#000000',
  },
}
SCSS
$custom: #161c54;
$custom-light: #5d5885;
$custom-dark: #000000;
JSON
{
  "hex": "#161c54",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 84
  },
  "hsl": {
    "h": 234.194,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26148,
    "c": 0.1008,
    "h": 272.6
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#161C54
secondary
#8B843A
accent
#D346E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161C54

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

Preview Lab → · Contrast checker → · Palette generator →

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