#161A52#161A52

#161A52 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.101 H 273.7°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#161A52
RGBrgb(22, 26, 82)
HSLhsl(236, 58%, 20%)
HSVhsv(236, 73%, 32%)
CMYKcmyk(73.2%, 68.3%, 0%, 67.8%)
CIE-LABlab(12.72, 19.17, -34.79)
CIE-LCHlch(12.72, 39.72, 298.86°)
OKLaboklab(25.54% 0.0065 -0.1003)
OKLCHoklch(25.54% 0.101 273.7)
XYZxyz(2.2228, 1.5184, 8.1569)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A52 #524E16
analogous
#163852 #161A52 #301652
triadic
#161A52 #52161A #1A5216
tetradic
#161A52 #521638 #524E16 #165230
square
#161A52 #521638 #524E16 #165230
split-complementary
#161A52 #523016 #385216
monochromatic
#060818 #090B22 #161A52 #232982 #3039B3

Accessibility & contrast

On white

16.11
#161A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#161A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A52
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A52#FFFFFF#000000##FFFFFF
##161A521.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#002833
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161a52;
/* rgb */ color: rgb(22, 26, 82);
/* oklch */ color: oklch(25.5% 0.101 273.7);
Tailwind
colors: {
  custom: {
    50: '#5c5683',
    500: '#161a52',
    950: '#000000',
  },
}
SCSS
$custom: #161a52;
$custom-light: #5c5683;
$custom-dark: #000000;
JSON
{
  "hex": "#161a52",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 236,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25535,
    "c": 0.10054,
    "h": 273.7
  },
  "luminance": 0.01519
}

Semantic roles & 50–950 ramp

primary
#161A52
secondary
#89843A
accent
#D747E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #161A52

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

Preview Lab → · Contrast checker → · Palette generator →

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