#161A55#161A55

#161A55 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.105 H 273.4°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#161A55
RGBrgb(22, 26, 85)
HSLhsl(236, 59%, 21%)
HSVhsv(236, 74%, 33%)
CMYKcmyk(74.1%, 69.4%, 0%, 66.7%)
CIE-LABlab(13.02, 20.38, -36.35)
CIE-LCHlch(13.02, 41.67, 299.27°)
OKLaboklab(25.84% 0.0063 -0.1049)
OKLCHoklch(25.84% 0.105 273.4)
XYZxyz(2.3394, 1.5650, 8.7714)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A55 #555116
analogous
#163955 #161A55 #311655
triadic
#161A55 #55161A #1A5516
tetradic
#161A55 #551639 #555116 #165531
square
#161A55 #551639 #555116 #165531
split-complementary
#161A55 #553116 #395516
monochromatic
#060718 #090B24 #161A55 #232986 #2F38B6

Accessibility & contrast

On white

15.99
#161A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#161A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A55
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A55#FFFFFF#000000##FFFFFF
##161A551.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#001F54
Tritanopia (blue-blind)
#002934
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161a55;
/* rgb */ color: rgb(22, 26, 85);
/* oklch */ color: oklch(25.8% 0.105 273.4);
Tailwind
colors: {
  custom: {
    50: '#5d5685',
    500: '#161a55',
    950: '#000000',
  },
}
SCSS
$custom: #161a55;
$custom-light: #5d5685;
$custom-dark: #000000;
JSON
{
  "hex": "#161a55",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 85
  },
  "hsl": {
    "h": 236.19,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25838,
    "c": 0.10511,
    "h": 273.4
  },
  "luminance": 0.01565
}

Semantic roles & 50–950 ramp

primary
#161A55
secondary
#8C873A
accent
#D846E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161A55

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

Preview Lab → · Contrast checker → · Palette generator →

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