#161578#161578

#161578 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.159 H 271.1°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#161578
RGBrgb(22, 21, 120)
HSLhsl(241, 70%, 28%)
HSVhsv(241, 83%, 47%)
CMYKcmyk(81.7%, 82.5%, 0%, 52.9%)
CIE-LABlab(15.81, 36.62, -54.82)
CIE-LCHlch(15.81, 65.93, 303.75°)
OKLaboklab(29.01% 0.0031 -0.1587)
OKLCHoklch(29.01% 0.159 271.1)
XYZxyz(3.9881, 2.0625, 17.9536)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161578 #777815
analogous
#154578 #161578 #471578
triadic
#161578 #781615 #157816
tetradic
#161578 #781545 #777815 #157847
square
#161578 #781545 #777815 #157847
split-complementary
#161578 #784715 #457815
monochromatic
#05051A #0C0C44 #161578 #201EAC #2F2DDA

Accessibility & contrast

On white

14.87
#161578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#161578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161578
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161578#FFFFFF#000000##FFFFFF
##1615781.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7B
Deuteranopia (green-blind)
#002276
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #161578;
/* rgb */ color: rgb(22, 21, 120);
/* oklch */ color: oklch(29.0% 0.159 271.1);
Tailwind
colors: {
  custom: {
    50: '#6855a0',
    500: '#161578',
    950: '#000000',
  },
}
SCSS
$custom: #161578;
$custom-light: #6855a0;
$custom-dark: #000000;
JSON
{
  "hex": "#161578",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 240.606,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29011,
    "c": 0.15875,
    "h": 271.1
  },
  "luminance": 0.02063
}

Semantic roles & 50–950 ramp

primary
#161578
secondary
#ACAE3B
accent
#ED3BEB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161578

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

Preview Lab → · Contrast checker → · Palette generator →

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