#161572#161572

#161572 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.151 H 271.7°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#161572
RGBrgb(22, 21, 114)
HSLhsl(241, 69%, 26%)
HSVhsv(241, 82%, 45%)
CMYKcmyk(80.7%, 81.6%, 0%, 55.3%)
CIE-LABlab(15.07, 34.54, -52.18)
CIE-LCHlch(15.07, 62.58, 303.50°)
OKLaboklab(28.27% 0.0045 -0.1511)
OKLCHoklch(28.27% 0.151 271.7)
XYZxyz(3.6353, 1.9214, 16.0956)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161572 #717215
analogous
#154372 #161572 #451572
triadic
#161572 #721615 #157216
tetradic
#161572 #721543 #717215 #157245
square
#161572 #721543 #717215 #157245
split-complementary
#161572 #724515 #437215
monochromatic
#05051A #0C0B3E #161572 #201FA6 #2C2AD8

Accessibility & contrast

On white

15.17
#161572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#161572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161572
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161572#FFFFFF#000000##FFFFFF
##1615721.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002170
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161572;
/* rgb */ color: rgb(22, 21, 114);
/* oklch */ color: oklch(28.3% 0.151 271.7);
Tailwind
colors: {
  custom: {
    50: '#66549c',
    500: '#161572',
    950: '#000000',
  },
}
SCSS
$custom: #161572;
$custom-light: #66549c;
$custom-dark: #000000;
JSON
{
  "hex": "#161572",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 240.645,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28274,
    "c": 0.15113,
    "h": 271.7
  },
  "luminance": 0.01922
}

Semantic roles & 50–950 ramp

primary
#161572
secondary
#A7A83B
accent
#EC3CEA
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161572

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

Preview Lab → · Contrast checker → · Palette generator →

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