#161180#161180

#161180 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.172 H 270.7°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#161180
RGBrgb(22, 17, 128)
HSLhsl(243, 77%, 28%)
HSVhsv(243, 87%, 50%)
CMYKcmyk(82.8%, 86.7%, 0%, 49.8%)
CIE-LABlab(16.15, 41.30, -59.37)
CIE-LCHlch(16.15, 72.32, 304.82°)
OKLaboklab(29.54% 0.0022 -0.1718)
OKLCHoklch(29.54% 0.172 270.7)
XYZxyz(4.4263, 2.1295, 20.5956)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161180 #7B8011
analogous
#114380 #161180 #4D1180
triadic
#161180 #801611 #118016
tetradic
#161180 #801143 #7B8011 #11804D
square
#161180 #801143 #7B8011 #11804D
split-complementary
#161180 #804D11 #438011
monochromatic
#05041B #0D0A4A #161180 #1F18B6 #3129E3

Accessibility & contrast

On white

14.73
#161180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#161180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161180
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161180#FFFFFF#000000##FFFFFF
##1611801.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D83
Deuteranopia (green-blind)
#00227E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161180;
/* rgb */ color: rgb(22, 17, 128);
/* oklch */ color: oklch(29.5% 0.172 270.7);
Tailwind
colors: {
  custom: {
    50: '#6a53a6',
    500: '#161180',
    950: '#000000',
  },
}
SCSS
$custom: #161180;
$custom-light: #6a53a6;
$custom-dark: #000000;
JSON
{
  "hex": "#161180",
  "rgb": {
    "r": 22,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 242.703,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29543,
    "c": 0.17181,
    "h": 270.7
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#161180
secondary
#B0B637
accent
#F335EB
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #161180

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

Preview Lab → · Contrast checker → · Palette generator →

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