#161371#161371

#161371 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.152 H 272.0°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#161371
RGBrgb(22, 19, 113)
HSLhsl(242, 71%, 26%)
HSVhsv(242, 83%, 44%)
CMYKcmyk(80.5%, 83.2%, 0%, 55.7%)
CIE-LABlab(14.56, 35.31, -52.38)
CIE-LCHlch(14.56, 63.17, 303.99°)
OKLaboklab(27.88% 0.0054 -0.1516)
OKLCHoklch(27.88% 0.152 272)
XYZxyz(3.5434, 1.8282, 15.7857)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161371 #6E7113
analogous
#133F71 #161371 #451371
triadic
#161371 #711613 #137116
tetradic
#161371 #71133F #6E7113 #137145
square
#161371 #71133F #6E7113 #137145
split-complementary
#161371 #714513 #3F7113
monochromatic
#05041A #0C0A3D #161371 #201CA5 #2A25DA

Accessibility & contrast

On white

15.38
#161371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#161371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161371
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161371#FFFFFF#000000##FFFFFF
##1613711.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#00206F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161371;
/* rgb */ color: rgb(22, 19, 113);
/* oklch */ color: oklch(27.9% 0.152 272.0);
Tailwind
colors: {
  custom: {
    50: '#66539b',
    500: '#161371',
    950: '#000000',
  },
}
SCSS
$custom: #161371;
$custom-light: #66539b;
$custom-dark: #000000;
JSON
{
  "hex": "#161371",
  "rgb": {
    "r": 22,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 241.915,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27881,
    "c": 0.1517,
    "h": 272
  },
  "luminance": 0.01829
}

Semantic roles & 50–950 ramp

primary
#161371
secondary
#A4A838
accent
#EE3AE8
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #161371

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

Preview Lab → · Contrast checker → · Palette generator →

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