#161C5B#161C5B

#161C5B is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.111 H 272.2°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#161C5B
RGBrgb(22, 28, 91)
HSLhsl(235, 61%, 22%)
HSVhsv(235, 76%, 36%)
CMYKcmyk(75.8%, 69.2%, 0%, 64.3%)
CIE-LABlab(14.15, 21.34, -38.54)
CIE-LCHlch(14.15, 44.05, 298.98°)
OKLaboklab(26.85% 0.0042 -0.1113)
OKLCHoklch(26.85% 0.111 272.2)
XYZxyz(2.6338, 1.7562, 10.0957)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C5B #5B5516
analogous
#163E5B #161C5B #33165B
triadic
#161C5B #5B161C #1C5B16
tetradic
#161C5B #5B163E #5B5516 #165B33
square
#161C5B #5B163E #5B5516 #165B33
split-complementary
#161C5B #5B3316 #3E5B16
monochromatic
#060819 #0A0D2A #161C5B #222B8C #2E3ABE

Accessibility & contrast

On white

15.54
#161C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C5B
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C5B#FFFFFF#000000##FFFFFF
##161C5B1.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00215A
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161c5b;
/* rgb */ color: rgb(22, 28, 91);
/* oklch */ color: oklch(26.9% 0.111 272.2);
Tailwind
colors: {
  custom: {
    50: '#5f588a',
    500: '#161c5b',
    950: '#000000',
  },
}
SCSS
$custom: #161c5b;
$custom-light: #5f588a;
$custom-dark: #000000;
JSON
{
  "hex": "#161c5b",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 91
  },
  "hsl": {
    "h": 234.783,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26853,
    "c": 0.11139,
    "h": 272.2
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#161C5B
secondary
#928B3B
accent
#D644E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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