#161E59#161E59

#161E59 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.1% C 0.106 H 271.4°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#161E59
RGBrgb(22, 30, 89)
HSLhsl(233, 60%, 22%)
HSVhsv(233, 75%, 35%)
CMYKcmyk(75.3%, 66.3%, 0%, 65.1%)
CIE-LABlab(14.51, 19.09, -36.60)
CIE-LCHlch(14.51, 41.28, 297.54°)
OKLaboklab(27.06% 0.0027 -0.1056)
OKLCHoklch(27.06% 0.106 271.4)
XYZxyz(2.5977, 1.8201, 9.6637)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161E59 #595116
analogous
#164059 #161E59 #301659
triadic
#161E59 #59161E #1E5916
tetradic
#161E59 #591640 #595116 #165930
square
#161E59 #591640 #595116 #165930
split-complementary
#161E59 #593016 #405916
monochromatic
#060819 #0A0D28 #161E59 #222F8A #2E3FBB

Accessibility & contrast

On white

15.40
#161E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#161E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161E59
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161E59#FFFFFF#000000##FFFFFF
##161E591.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161e59;
/* rgb */ color: rgb(22, 30, 89);
/* oklch */ color: oklch(27.1% 0.106 271.4);
Tailwind
colors: {
  custom: {
    50: '#5e5988',
    500: '#161e59',
    950: '#000000',
  },
}
SCSS
$custom: #161e59;
$custom-light: #5e5988;
$custom-dark: #000000;
JSON
{
  "hex": "#161e59",
  "rgb": {
    "r": 22,
    "g": 30,
    "b": 89
  },
  "hsl": {
    "h": 232.836,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27059,
    "c": 0.10565,
    "h": 271.4
  },
  "luminance": 0.0182
}

Semantic roles & 50–950 ramp

primary
#161E59
secondary
#90863B
accent
#D044E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #161E59

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

Preview Lab → · Contrast checker → · Palette generator →

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