#161886#161886

#161886 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.173 H 269.8°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#161886
RGBrgb(22, 24, 134)
HSLhsl(239, 72%, 31%)
HSVhsv(239, 84%, 53%)
CMYKcmyk(83.6%, 82.1%, 0%, 47.5%)
CIE-LABlab(18.12, 39.77, -59.90)
CIE-LCHlch(18.12, 71.90, 303.58°)
OKLaboklab(31.13% -0.0007 -0.1735)
OKLCHoklch(31.13% 0.173 269.8)
XYZxyz(4.9591, 2.5445, 22.7794)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161886 #868416
analogous
#165086 #161886 #4C1686
triadic
#161886 #861618 #188616
tetradic
#161886 #861650 #868416 #16864C
square
#161886 #861650 #868416 #16864C
split-complementary
#161886 #864C16 #508616
monochromatic
#05051D #0D0F51 #161886 #1F21BB #383BDE

Accessibility & contrast

On white

13.92
#161886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#161886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161886
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161886#FFFFFF#000000##FFFFFF
##1618861.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002684
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #161886;
/* rgb */ color: rgb(22, 24, 134);
/* oklch */ color: oklch(31.1% 0.173 269.8);
Tailwind
colors: {
  custom: {
    50: '#6b57ab',
    500: '#161886',
    950: '#000000',
  },
}
SCSS
$custom: #161886;
$custom-light: #6b57ab;
$custom-dark: #000000;
JSON
{
  "hex": "#161886",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 238.929,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31128,
    "c": 0.17348,
    "h": 269.8
  },
  "luminance": 0.02545
}

Semantic roles & 50–950 ramp

primary
#161886
secondary
#BAB83E
accent
#EB39EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161886

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

Preview Lab → · Contrast checker → · Palette generator →

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