#161D55#161D55

#161D55 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.5% C 0.101 H 272.1°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#161D55
RGBrgb(22, 29, 85)
HSLhsl(233, 59%, 21%)
HSVhsv(233, 74%, 33%)
CMYKcmyk(74.1%, 65.9%, 0%, 66.7%)
CIE-LABlab(13.86, 18.19, -34.98)
CIE-LCHlch(13.86, 39.42, 297.48°)
OKLaboklab(26.46% 0.0036 -0.1009)
OKLCHoklch(26.46% 0.101 272.1)
XYZxyz(2.4094, 1.7050, 8.7947)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D55 #554E16
analogous
#163C55 #161D55 #2E1655
triadic
#161D55 #55161D #1D5516
tetradic
#161D55 #55163C #554E16 #16552E
square
#161D55 #55163C #554E16 #16552E
split-complementary
#161D55 #552E16 #3C5516
monochromatic
#060818 #090C24 #161D55 #232E86 #2F3EB6

Accessibility & contrast

On white

15.66
#161D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#161D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D55
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D55#FFFFFF#000000##FFFFFF
##161D551.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002657
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #161d55;
/* rgb */ color: rgb(22, 29, 85);
/* oklch */ color: oklch(26.5% 0.101 272.1);
Tailwind
colors: {
  custom: {
    50: '#5d5885',
    500: '#161d55',
    950: '#000000',
  },
}
SCSS
$custom: #161d55;
$custom-light: #5d5885;
$custom-dark: #000000;
JSON
{
  "hex": "#161d55",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 85
  },
  "hsl": {
    "h": 233.333,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26457,
    "c": 0.10093,
    "h": 272.1
  },
  "luminance": 0.01705
}

Semantic roles & 50–950 ramp

primary
#161D55
secondary
#8C833A
accent
#D146E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161D55

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

Preview Lab → · Contrast checker → · Palette generator →

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