#161D50#161D50

#161D50 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.0% C 0.093 H 272.3°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#161D50
RGBrgb(22, 29, 80)
HSLhsl(233, 57%, 20%)
HSVhsv(233, 73%, 31%)
CMYKcmyk(72.5%, 63.7%, 0%, 68.6%)
CIE-LABlab(13.40, 16.14, -32.32)
CIE-LCHlch(13.40, 36.13, 296.54°)
OKLaboklab(25.98% 0.0037 -0.093)
OKLCHoklch(25.98% 0.093 272.3)
XYZxyz(2.2177, 1.6283, 7.7853)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D50 #504916
analogous
#163A50 #161D50 #2C1650
triadic
#161D50 #50161D #1D5016
tetradic
#161D50 #50163A #504916 #16502C
square
#161D50 #50163A #504916 #16502C
split-complementary
#161D50 #502C16 #3A5016
monochromatic
#070918 #090C20 #161D50 #232E80 #3040B0

Accessibility & contrast

On white

15.84
#161D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#161D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D50
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D50#FFFFFF#000000##FFFFFF
##161D501.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002552
Deuteranopia (green-blind)
#00204F
Tritanopia (blue-blind)
#002933
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161d50;
/* rgb */ color: rgb(22, 29, 80);
/* oklch */ color: oklch(26.0% 0.093 272.3);
Tailwind
colors: {
  custom: {
    50: '#5c5882',
    500: '#161d50',
    950: '#000000',
  },
}
SCSS
$custom: #161d50;
$custom-light: #5c5882;
$custom-dark: #000000;
JSON
{
  "hex": "#161d50",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 80
  },
  "hsl": {
    "h": 232.759,
    "s": 56.863,
    "l": 20
  },
  "oklch": {
    "l": 0.25977,
    "c": 0.09312,
    "h": 272.3
  },
  "luminance": 0.01628
}

Semantic roles & 50–950 ramp

primary
#161D50
secondary
#877E3A
accent
#CE48E0
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #161D50

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

Preview Lab → · Contrast checker → · Palette generator →

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