#161580#161580

#161580 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.169 H 270.4°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#161580
RGBrgb(22, 21, 128)
HSLhsl(241, 72%, 29%)
HSVhsv(241, 84%, 50%)
CMYKcmyk(82.8%, 83.6%, 0%, 49.8%)
CIE-LABlab(16.82, 39.34, -58.26)
CIE-LCHlch(16.82, 70.30, 304.02°)
OKLaboklab(30.01% 0.0013 -0.1687)
OKLCHoklch(30.01% 0.169 270.4)
XYZxyz(4.4940, 2.2649, 20.6182)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161580 #7F8015
analogous
#154A80 #161580 #4C1580
triadic
#161580 #801615 #158016
tetradic
#161580 #80154A #7F8015 #15804C
square
#161580 #80154A #7F8015 #15804C
split-complementary
#161580 #804C15 #4A8015
monochromatic
#05041A #0D0C4B #161580 #1F1EB5 #3432DD

Accessibility & contrast

On white

14.45
#161580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#161580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161580
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161580#FFFFFF#000000##FFFFFF
##1615801.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161580;
/* rgb */ color: rgb(22, 21, 128);
/* oklch */ color: oklch(30.0% 0.169 270.4);
Tailwind
colors: {
  custom: {
    50: '#6a55a6',
    500: '#161580',
    950: '#000000',
  },
}
SCSS
$custom: #161580;
$custom-light: #6a55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#161580",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 240.561,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30005,
    "c": 0.16869,
    "h": 270.4
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#161580
secondary
#B4B53C
accent
#EF39ED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080310
muted
#7A787F

Preview Lab

Preview with #161580

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

Preview Lab → · Contrast checker → · Palette generator →

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