#161173#161173

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

Color values

HEX#161173
RGBrgb(22, 17, 115)
HSLhsl(243, 74%, 26%)
HSVhsv(243, 85%, 45%)
CMYKcmyk(80.9%, 85.2%, 0%, 54.9%)
CIE-LABlab(14.45, 37.05, -53.86)
CIE-LCHlch(14.45, 65.37, 304.52°)
OKLaboklab(27.88% 0.0055 -0.1558)
OKLCHoklch(27.88% 0.156 272)
XYZxyz(3.6248, 1.8089, 16.3744)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161173 #6E7311
analogous
#113D73 #161173 #471173
triadic
#161173 #731611 #117316
tetradic
#161173 #73113D #6E7311 #117347
square
#161173 #73113D #6E7311 #117347
split-complementary
#161173 #734711 #3D7311
monochromatic
#05041B #0C093E #161173 #2019A8 #2A21DE

Accessibility & contrast

On white

15.42
#161173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#161173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161173
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161173#FFFFFF#000000##FFFFFF
##1611731.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002976
Deuteranopia (green-blind)
#002071
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161173;
/* rgb */ color: rgb(22, 17, 115);
/* oklch */ color: oklch(27.9% 0.156 272.0);
Tailwind
colors: {
  custom: {
    50: '#67529c',
    500: '#161173',
    950: '#000000',
  },
}
SCSS
$custom: #161173;
$custom-light: #67529c;
$custom-dark: #000000;
JSON
{
  "hex": "#161173",
  "rgb": {
    "r": 22,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 243.061,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27879,
    "c": 0.15594,
    "h": 272
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161173

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

Preview Lab → · Contrast checker → · Palette generator →

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