#161B5A#161B5A

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

Color values

HEX#161B5A
RGBrgb(22, 27, 90)
HSLhsl(236, 61%, 22%)
HSVhsv(236, 76%, 35%)
CMYKcmyk(75.6%, 70%, 0%, 64.7%)
CIE-LABlab(13.78, 21.66, -38.47)
CIE-LCHlch(13.78, 44.15, 299.38°)
OKLaboklab(26.55% 0.0051 -0.1111)
OKLCHoklch(26.55% 0.111 272.6)
XYZxyz(2.5677, 1.6924, 9.8622)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B5A #5A5516
analogous
#163D5A #161B5A #33165A
triadic
#161B5A #5A161B #1B5A16
tetradic
#161B5A #5A163D #5A5516 #165A33
square
#161B5A #5A163D #5A5516 #165A33
split-complementary
#161B5A #5A3316 #3D5A16
monochromatic
#060719 #0A0C29 #161B5A #222A8B #2E39BC

Accessibility & contrast

On white

15.69
#161B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B5A
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B5A#FFFFFF#000000##FFFFFF
##161B5A1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161b5a;
/* rgb */ color: rgb(22, 27, 90);
/* oklch */ color: oklch(26.6% 0.111 272.6);
Tailwind
colors: {
  custom: {
    50: '#5e5789',
    500: '#161b5a',
    950: '#000000',
  },
}
SCSS
$custom: #161b5a;
$custom-light: #5e5789;
$custom-dark: #000000;
JSON
{
  "hex": "#161b5a",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 90
  },
  "hsl": {
    "h": 235.588,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26552,
    "c": 0.11124,
    "h": 272.6
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#161B5A
secondary
#918B3B
accent
#D844E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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