#161986#161986

#161986 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.173 H 269.7°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#161986
RGBrgb(22, 25, 134)
HSLhsl(238, 72%, 31%)
HSVhsv(238, 84%, 53%)
CMYKcmyk(83.6%, 81.3%, 0%, 47.5%)
CIE-LABlab(18.31, 39.23, -59.59)
CIE-LCHlch(18.31, 71.35, 303.36°)
OKLaboklab(31.26% -0.001 -0.1726)
OKLCHoklch(31.26% 0.173 269.7)
XYZxyz(4.9801, 2.5865, 22.7864)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161986 #868316
analogous
#165186 #161986 #4B1686
triadic
#161986 #861619 #198616
tetradic
#161986 #861651 #868316 #16864B
square
#161986 #861651 #868316 #16864B
split-complementary
#161986 #864B16 #518616
monochromatic
#05051D #0D0F51 #161986 #1F23BB #383DDE

Accessibility & contrast

On white

13.84
#161986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#161986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161986
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161986#FFFFFF#000000##FFFFFF
##1619861.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002784
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #161986;
/* rgb */ color: rgb(22, 25, 134);
/* oklch */ color: oklch(31.3% 0.173 269.7);
Tailwind
colors: {
  custom: {
    50: '#6b58ab',
    500: '#161986',
    950: '#000000',
  },
}
SCSS
$custom: #161986;
$custom-light: #6b58ab;
$custom-dark: #000000;
JSON
{
  "hex": "#161986",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 238.393,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31258,
    "c": 0.1726,
    "h": 269.7
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#161986
secondary
#BAB73E
accent
#EA39EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161986

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

Preview Lab → · Contrast checker → · Palette generator →

#161986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva