#161171#161171

#161171 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.153 H 272.3°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#161171
RGBrgb(22, 17, 113)
HSLhsl(243, 74%, 25%)
HSVhsv(243, 85%, 44%)
CMYKcmyk(80.5%, 85%, 0%, 55.7%)
CIE-LABlab(14.19, 36.38, -52.99)
CIE-LCHlch(14.19, 64.27, 304.47°)
OKLaboklab(27.63% 0.006 -0.1533)
OKLCHoklch(27.63% 0.153 272.3)
XYZxyz(3.5110, 1.7633, 15.7749)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161171 #6C7111
analogous
#113C71 #161171 #461171
triadic
#161171 #711611 #117116
tetradic
#161171 #71113C #6C7111 #117146
square
#161171 #71113C #6C7111 #117146
split-complementary
#161171 #714611 #3C7111
monochromatic
#05041B #0C093C #161171 #2019A6 #2B21DB

Accessibility & contrast

On white

15.52
#161171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#161171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161171
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161171#FFFFFF#000000##FFFFFF
##1611711.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#001F6F
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #161171;
/* rgb */ color: rgb(22, 17, 113);
/* oklch */ color: oklch(27.6% 0.153 272.3);
Tailwind
colors: {
  custom: {
    50: '#66529b',
    500: '#161171',
    950: '#000000',
  },
}
SCSS
$custom: #161171;
$custom-light: #66529b;
$custom-dark: #000000;
JSON
{
  "hex": "#161171",
  "rgb": {
    "r": 22,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 243.125,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27626,
    "c": 0.15344,
    "h": 272.3
  },
  "luminance": 0.01764
}

Semantic roles & 50–950 ramp

primary
#161171
secondary
#A2A836
accent
#F137E7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #161171

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

Preview Lab → · Contrast checker → · Palette generator →

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