#161C5A#161C5A

#161C5A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.8% C 0.110 H 272.2°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#161C5A
RGBrgb(22, 28, 90)
HSLhsl(235, 61%, 22%)
HSVhsv(235, 76%, 35%)
CMYKcmyk(75.6%, 68.9%, 0%, 64.7%)
CIE-LABlab(14.05, 20.94, -38.03)
CIE-LCHlch(14.05, 43.41, 298.84°)
OKLaboklab(26.75% 0.0043 -0.1098)
OKLCHoklch(26.75% 0.11 272.2)
XYZxyz(2.5910, 1.7390, 9.8700)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C5A #5A5416
analogous
#163E5A #161C5A #32165A
triadic
#161C5A #5A161C #1C5A16
tetradic
#161C5A #5A163E #5A5416 #165A32
square
#161C5A #5A163E #5A5416 #165A32
split-complementary
#161C5A #5A3216 #3E5A16
monochromatic
#060819 #0A0D29 #161C5A #222B8B #2E3BBC

Accessibility & contrast

On white

15.58
#161C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#161C5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C5A
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C5A#FFFFFF#000000##FFFFFF
##161C5A1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002159
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161c5a;
/* rgb */ color: rgb(22, 28, 90);
/* oklch */ color: oklch(26.8% 0.110 272.2);
Tailwind
colors: {
  custom: {
    50: '#5e5889',
    500: '#161c5a',
    950: '#000000',
  },
}
SCSS
$custom: #161c5a;
$custom-light: #5e5889;
$custom-dark: #000000;
JSON
{
  "hex": "#161c5a",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 90
  },
  "hsl": {
    "h": 234.706,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2675,
    "c": 0.1099,
    "h": 272.2
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#161C5A
secondary
#918A3B
accent
#D644E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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