#161D59#161D59

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

Color values

HEX#161D59
RGBrgb(22, 29, 89)
HSLhsl(234, 60%, 22%)
HSVhsv(234, 75%, 35%)
CMYKcmyk(75.3%, 67.4%, 0%, 65.1%)
CIE-LABlab(14.23, 19.81, -37.06)
CIE-LCHlch(14.23, 42.03, 298.13°)
OKLaboklab(26.85% 0.0035 -0.107)
OKLCHoklch(26.85% 0.107 271.9)
XYZxyz(2.5728, 1.7703, 9.6554)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D59 #595216
analogous
#163F59 #161D59 #311659
triadic
#161D59 #59161D #1D5916
tetradic
#161D59 #59163F #595216 #165931
square
#161D59 #59163F #595216 #165931
split-complementary
#161D59 #593116 #3F5916
monochromatic
#060819 #0A0D28 #161D59 #222D8A #2E3DBB

Accessibility & contrast

On white

15.51
#161D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161D59
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D59#FFFFFF#000000##FFFFFF
##161D591.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002158
Tritanopia (blue-blind)
#002C38
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161d59;
/* rgb */ color: rgb(22, 29, 89);
/* oklch */ color: oklch(26.9% 0.107 271.9);
Tailwind
colors: {
  custom: {
    50: '#5e5889',
    500: '#161d59',
    950: '#000000',
  },
}
SCSS
$custom: #161d59;
$custom-light: #5e5889;
$custom-dark: #000000;
JSON
{
  "hex": "#161d59",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 89
  },
  "hsl": {
    "h": 233.731,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26852,
    "c": 0.10704,
    "h": 271.9
  },
  "luminance": 0.01771
}

Semantic roles & 50–950 ramp

primary
#161D59
secondary
#90873B
accent
#D344E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #161D59

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

Preview Lab → · Contrast checker → · Palette generator →

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