#161687#161687

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

Color values

HEX#161687
RGBrgb(22, 22, 135)
HSLhsl(240, 72%, 31%)
HSVhsv(240, 84%, 53%)
CMYKcmyk(83.7%, 83.7%, 0%, 47.1%)
CIE-LABlab(17.89, 41.15, -60.92)
CIE-LCHlch(17.89, 73.51, 304.04°)
OKLaboklab(31% -0.0005 -0.1764)
OKLCHoklch(31% 0.176 269.8)
XYZxyz(4.9895, 2.4931, 23.1352)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161687 #878716
analogous
#164E87 #161687 #4E1687
triadic
#161687 #871616 #168716
tetradic
#161687 #87164E #878716 #16874E
square
#161687 #87164E #878716 #16874E
split-complementary
#161687 #874E16 #4E8716
monochromatic
#05051E #0D0D52 #161687 #1F1FBC #3939DF

Accessibility & contrast

On white

14.01
#161687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#161687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161687
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161687#FFFFFF#000000##FFFFFF
##1616871.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00318A
Deuteranopia (green-blind)
#002685
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #161687;
/* rgb */ color: rgb(22, 22, 135);
/* oklch */ color: oklch(31.0% 0.176 269.8);
Tailwind
colors: {
  custom: {
    50: '#6c56ab',
    500: '#161687',
    950: '#000000',
  },
}
SCSS
$custom: #161687;
$custom-light: #6c56ab;
$custom-dark: #000000;
JSON
{
  "hex": "#161687",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 240,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31003,
    "c": 0.17638,
    "h": 269.8
  },
  "luminance": 0.02494
}

Semantic roles & 50–950 ramp

primary
#161687
secondary
#BBBB3E
accent
#EF39EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161687

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

Preview Lab → · Contrast checker → · Palette generator →

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