#161A5A#161A5A

#161A5A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.4% C 0.113 H 273.0°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#161A5A
RGBrgb(22, 26, 90)
HSLhsl(236, 61%, 22%)
HSVhsv(236, 76%, 35%)
CMYKcmyk(75.6%, 71.1%, 0%, 64.7%)
CIE-LABlab(13.52, 22.36, -38.91)
CIE-LCHlch(13.52, 44.88, 299.89°)
OKLaboklab(26.36% 0.0058 -0.1124)
OKLCHoklch(26.36% 0.113 273)
XYZxyz(2.5451, 1.6473, 9.8547)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A5A #5A5616
analogous
#163C5A #161A5A #34165A
triadic
#161A5A #5A161A #1A5A16
tetradic
#161A5A #5A163C #5A5616 #165A34
square
#161A5A #5A163C #5A5616 #165A34
split-complementary
#161A5A #5A3416 #3C5A16
monochromatic
#060719 #0A0C29 #161A5A #22288B #2E36BC

Accessibility & contrast

On white

15.79
#161A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161A5A
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A5A#FFFFFF#000000##FFFFFF
##161A5A1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#002B37
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161a5a;
/* rgb */ color: rgb(22, 26, 90);
/* oklch */ color: oklch(26.4% 0.113 273.0);
Tailwind
colors: {
  custom: {
    50: '#5f5689',
    500: '#161a5a',
    950: '#000000',
  },
}
SCSS
$custom: #161a5a;
$custom-light: #5f5689;
$custom-dark: #000000;
JSON
{
  "hex": "#161a5a",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 236.471,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26357,
    "c": 0.11256,
    "h": 273
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#161A5A
secondary
#918C3B
accent
#DA44E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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