#161579#161579

#161579 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.160 H 271.0°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#161579
RGBrgb(22, 21, 121)
HSLhsl(241, 70%, 28%)
HSVhsv(241, 83%, 47%)
CMYKcmyk(81.8%, 82.6%, 0%, 52.5%)
CIE-LABlab(15.94, 36.97, -55.26)
CIE-LCHlch(15.94, 66.48, 303.78°)
OKLaboklab(29.13% 0.0029 -0.16)
OKLCHoklch(29.13% 0.16 271)
XYZxyz(4.0491, 2.0869, 18.2749)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161579 #787915
analogous
#154679 #161579 #481579
triadic
#161579 #791615 #157916
tetradic
#161579 #791546 #787915 #157948
square
#161579 #791546 #787915 #157948
split-complementary
#161579 #794815 #467915
monochromatic
#05051A #0D0C45 #161579 #1F1EAD #2F2EDB

Accessibility & contrast

On white

14.82
#161579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#161579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161579
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161579#FFFFFF#000000##FFFFFF
##1615791.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002277
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161579;
/* rgb */ color: rgb(22, 21, 121);
/* oklch */ color: oklch(29.1% 0.160 271.0);
Tailwind
colors: {
  custom: {
    50: '#6855a1',
    500: '#161579',
    950: '#000000',
  },
}
SCSS
$custom: #161579;
$custom-light: #6855a1;
$custom-dark: #000000;
JSON
{
  "hex": "#161579",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 240.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29134,
    "c": 0.16001,
    "h": 271
  },
  "luminance": 0.02087
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161579

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

Preview Lab → · Contrast checker → · Palette generator →

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