#161C89#161C89

#161C89 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.174 H 269.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#161C89
RGBrgb(22, 28, 137)
HSLhsl(237, 72%, 31%)
HSVhsv(237, 84%, 54%)
CMYKcmyk(83.9%, 79.6%, 0%, 46.3%)
CIE-LABlab(19.25, 38.59, -59.91)
CIE-LCHlch(19.25, 71.26, 302.79°)
OKLaboklab(32.03% -0.0023 -0.1736)
OKLCHoklch(32.03% 0.174 269.2)
XYZxyz(5.2599, 2.8066, 23.9266)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C89 #898316
analogous
#165589 #161C89 #491689
triadic
#161C89 #89161C #1C8916
tetradic
#161C89 #891655 #898316 #168949
square
#161C89 #891655 #898316 #168949
split-complementary
#161C89 #894916 #558916
monochromatic
#050620 #0E1154 #161C89 #1E27BE #3A43DF

Accessibility & contrast

On white

13.45
#161C89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#161C89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C89
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C89#FFFFFF#000000##FFFFFF
##161C891.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #161c89;
/* rgb */ color: rgb(22, 28, 137);
/* oklch */ color: oklch(32.0% 0.174 269.2);
Tailwind
colors: {
  custom: {
    50: '#6c5aad',
    500: '#161c89',
    950: '#000000',
  },
}
SCSS
$custom: #161c89;
$custom-light: #6c5aad;
$custom-dark: #000000;
JSON
{
  "hex": "#161c89",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 137
  },
  "hsl": {
    "h": 236.87,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3203,
    "c": 0.17358,
    "h": 269.2
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#161C89
secondary
#BDB63E
accent
#E639EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #161C89

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

Preview Lab → · Contrast checker → · Palette generator →

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