#161C5C#161C5C

#161C5C is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.113 H 272.1°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#161C5C
RGBrgb(22, 28, 92)
HSLhsl(235, 61%, 22%)
HSVhsv(235, 76%, 36%)
CMYKcmyk(76.1%, 69.6%, 0%, 63.9%)
CIE-LABlab(14.25, 21.74, -39.04)
CIE-LCHlch(14.25, 44.69, 299.11°)
OKLaboklab(26.96% 0.0041 -0.1128)
OKLCHoklch(26.96% 0.113 272.1)
XYZxyz(2.6772, 1.7735, 10.3244)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C5C #5C5616
analogous
#163F5C #161C5C #33165C
triadic
#161C5C #5C161C #1C5C16
tetradic
#161C5C #5C163F #5C5616 #165C33
square
#161C5C #5C163F #5C5616 #165C33
split-complementary
#161C5C #5C3316 #3F5C16
monochromatic
#060819 #0A0D2B #161C5C #222B8D #2E3ABF

Accessibility & contrast

On white

15.50
#161C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C5C
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C5C#FFFFFF#000000##FFFFFF
##161C5C1.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00215B
Tritanopia (blue-blind)
#002D39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161c5c;
/* rgb */ color: rgb(22, 28, 92);
/* oklch */ color: oklch(27.0% 0.113 272.1);
Tailwind
colors: {
  custom: {
    50: '#5f588b',
    500: '#161c5c',
    950: '#000000',
  },
}
SCSS
$custom: #161c5c;
$custom-light: #5f588b;
$custom-dark: #000000;
JSON
{
  "hex": "#161c5c",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 92
  },
  "hsl": {
    "h": 234.857,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26956,
    "c": 0.11288,
    "h": 272.1
  },
  "luminance": 0.01774
}

Semantic roles & 50–950 ramp

primary
#161C5C
secondary
#938C3B
accent
#D743E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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