#161D89#161D89

#161D89 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.173 H 269.1°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#161D89
RGBrgb(22, 29, 137)
HSLhsl(236, 72%, 31%)
HSVhsv(236, 84%, 54%)
CMYKcmyk(83.9%, 78.8%, 0%, 46.3%)
CIE-LABlab(19.45, 38.02, -59.58)
CIE-LCHlch(19.45, 70.67, 302.54°)
OKLaboklab(32.17% -0.0026 -0.1726)
OKLCHoklch(32.17% 0.173 269.1)
XYZxyz(5.2841, 2.8548, 23.9346)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161D89 #898216
analogous
#165689 #161D89 #481689
triadic
#161D89 #89161D #1D8916
tetradic
#161D89 #891656 #898216 #168948
square
#161D89 #891656 #898216 #168948
split-complementary
#161D89 #894816 #568916
monochromatic
#050720 #0E1254 #161D89 #1E28BE #3A44DF

Accessibility & contrast

On white

13.37
#161D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#161D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161D89
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161D89#FFFFFF#000000##FFFFFF
##161D891.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161d89;
/* rgb */ color: rgb(22, 29, 137);
/* oklch */ color: oklch(32.2% 0.173 269.1);
Tailwind
colors: {
  custom: {
    50: '#6c5bad',
    500: '#161d89',
    950: '#000000',
  },
}
SCSS
$custom: #161d89;
$custom-light: #6c5bad;
$custom-dark: #000000;
JSON
{
  "hex": "#161d89",
  "rgb": {
    "r": 22,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 236.348,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32171,
    "c": 0.17263,
    "h": 269.1
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#161D89
secondary
#BDB53E
accent
#E439EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #161D89

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

Preview Lab → · Contrast checker → · Palette generator →

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