#161A86#161A86

#161A86 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.172 H 269.6°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#161A86
RGBrgb(22, 26, 134)
HSLhsl(238, 72%, 31%)
HSVhsv(238, 84%, 53%)
CMYKcmyk(83.6%, 80.6%, 0%, 47.5%)
CIE-LABlab(18.50, 38.68, -59.28)
CIE-LCHlch(18.50, 70.78, 303.12°)
OKLaboklab(31.39% -0.0012 -0.1717)
OKLCHoklch(31.39% 0.172 269.6)
XYZxyz(5.0019, 2.6300, 22.7937)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161A86 #868216
analogous
#165286 #161A86 #4A1686
triadic
#161A86 #86161A #1A8616
tetradic
#161A86 #861652 #868216 #16864A
square
#161A86 #861652 #868216 #16864A
split-complementary
#161A86 #864A16 #528616
monochromatic
#05061D #0D1051 #161A86 #1F24BB #383EDE

Accessibility & contrast

On white

13.76
#161A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#161A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161A86
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161A86#FFFFFF#000000##FFFFFF
##161A861.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161a86;
/* rgb */ color: rgb(22, 26, 134);
/* oklch */ color: oklch(31.4% 0.172 269.6);
Tailwind
colors: {
  custom: {
    50: '#6b59aa',
    500: '#161a86',
    950: '#000000',
  },
}
SCSS
$custom: #161a86;
$custom-light: #6b59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#161a86",
  "rgb": {
    "r": 22,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 237.857,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31393,
    "c": 0.1717,
    "h": 269.6
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#161A86
secondary
#BAB63E
accent
#E839EF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161A86

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

Preview Lab → · Contrast checker → · Palette generator →

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