#161D5E#161D5E

#161D5E is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.115 H 271.6°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#161D5E
RGBrgb(22, 29, 94)
HSLhsl(234, 62%, 23%)
HSVhsv(234, 77%, 37%)
CMYKcmyk(76.6%, 69.1%, 0%, 63.1%)
CIE-LABlab(14.72, 21.83, -39.61)
CIE-LCHlch(14.72, 45.23, 298.85°)
OKLaboklab(27.36% 0.0032 -0.1145)
OKLCHoklch(27.36% 0.115 271.6)
XYZxyz(2.7899, 1.8572, 10.7989)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D5E #5E5716
analogous
#16415E #161D5E #33165E
triadic
#161D5E #5E161D #1D5E16
tetradic
#161D5E #5E1641 #5E5716 #165E33
square
#161D5E #5E1641 #5E5716 #165E33
split-complementary
#161D5E #5E3316 #415E16
monochromatic
#060819 #0A0E2C #161D5E #222C90 #2D3CC1

Accessibility & contrast

On white

15.31
#161D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#161D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D5E
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D5E#FFFFFF#000000##FFFFFF
##161D5E1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00225D
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161d5e;
/* rgb */ color: rgb(22, 29, 94);
/* oklch */ color: oklch(27.4% 0.115 271.6);
Tailwind
colors: {
  custom: {
    50: '#5f598c',
    500: '#161d5e',
    950: '#000000',
  },
}
SCSS
$custom: #161d5e;
$custom-light: #5f598c;
$custom-dark: #000000;
JSON
{
  "hex": "#161d5e",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 234.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27359,
    "c": 0.1145,
    "h": 271.6
  },
  "luminance": 0.01857
}

Semantic roles & 50–950 ramp

primary
#161D5E
secondary
#958C3B
accent
#D543E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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