#161571#161571

#161571 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.150 H 271.8°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#161571
RGBrgb(22, 21, 113)
HSLhsl(241, 69%, 26%)
HSVhsv(241, 81%, 44%)
CMYKcmyk(80.5%, 81.4%, 0%, 55.7%)
CIE-LABlab(14.95, 34.19, -51.74)
CIE-LCHlch(14.95, 62.01, 303.46°)
OKLaboklab(28.15% 0.0047 -0.1498)
OKLCHoklch(28.15% 0.15 271.8)
XYZxyz(3.5787, 1.8988, 15.7975)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161571 #707115
analogous
#154271 #161571 #441571
triadic
#161571 #711615 #157116
tetradic
#161571 #711542 #707115 #157144
square
#161571 #711542 #707115 #157144
split-complementary
#161571 #714415 #427115
monochromatic
#05051A #0C0B3D #161571 #201FA5 #2B29D7

Accessibility & contrast

On white

15.22
#161571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161571
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161571#FFFFFF#000000##FFFFFF
##1615711.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161571;
/* rgb */ color: rgb(22, 21, 113);
/* oklch */ color: oklch(28.2% 0.150 271.8);
Tailwind
colors: {
  custom: {
    50: '#66549b',
    500: '#161571',
    950: '#000000',
  },
}
SCSS
$custom: #161571;
$custom-light: #66549b;
$custom-dark: #000000;
JSON
{
  "hex": "#161571",
  "rgb": {
    "r": 22,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 240.652,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28153,
    "c": 0.14983,
    "h": 271.8
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#161571
secondary
#A6A73B
accent
#EB3CEA
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161571

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

Preview Lab → · Contrast checker → · Palette generator →

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