#161E5D#161E5D

#161E5D is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.112 H 271.3°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#161E5D
RGBrgb(22, 30, 93)
HSLhsl(233, 62%, 23%)
HSVhsv(233, 76%, 36%)
CMYKcmyk(76.3%, 67.7%, 0%, 63.5%)
CIE-LABlab(14.89, 20.71, -38.66)
CIE-LCHlch(14.89, 43.86, 298.18°)
OKLaboklab(27.46% 0.0025 -0.1116)
OKLCHoklch(27.46% 0.112 271.3)
XYZxyz(2.7703, 1.8892, 10.5725)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E5D #5D5516
analogous
#16425D #161E5D #31165D
triadic
#161E5D #5D161E #1E5D16
tetradic
#161E5D #5D1642 #5D5516 #165D31
square
#161E5D #5D1642 #5D5516 #165D31
split-complementary
#161E5D #5D3116 #425D16
monochromatic
#060819 #0A0E2C #161E5D #222E8E #2D3EC0

Accessibility & contrast

On white

15.24
#161E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#161E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E5D
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E5D#FFFFFF#000000##FFFFFF
##161E5D1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161e5d;
/* rgb */ color: rgb(22, 30, 93);
/* oklch */ color: oklch(27.5% 0.112 271.3);
Tailwind
colors: {
  custom: {
    50: '#5f598c',
    500: '#161e5d',
    950: '#000000',
  },
}
SCSS
$custom: #161e5d;
$custom-light: #5f598c;
$custom-dark: #000000;
JSON
{
  "hex": "#161e5d",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 233.239,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27458,
    "c": 0.11168,
    "h": 271.3
  },
  "luminance": 0.01889
}

Semantic roles & 50–950 ramp

primary
#161E5D
secondary
#948A3B
accent
#D343E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #161E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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