#161472#161472

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

Color values

HEX#161472
RGBrgb(22, 20, 114)
HSLhsl(241, 70%, 26%)
HSVhsv(241, 82%, 45%)
CMYKcmyk(80.7%, 82.5%, 0%, 55.3%)
CIE-LABlab(14.87, 35.11, -52.51)
CIE-LCHlch(14.87, 63.16, 303.77°)
OKLaboklab(28.14% 0.0048 -0.152)
OKLCHoklch(28.14% 0.152 271.8)
XYZxyz(3.6173, 1.8854, 16.0896)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161472 #707214
analogous
#144172 #161472 #451472
triadic
#161472 #721614 #147216
tetradic
#161472 #721441 #707214 #147245
square
#161472 #721441 #707214 #147245
split-complementary
#161472 #724514 #417214
monochromatic
#05051A #0C0B3E #161472 #201DA6 #2B27D9

Accessibility & contrast

On white

15.25
#161472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161472
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161472#FFFFFF#000000##FFFFFF
##1614721.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161472;
/* rgb */ color: rgb(22, 20, 114);
/* oklch */ color: oklch(28.1% 0.152 271.8);
Tailwind
colors: {
  custom: {
    50: '#66549c',
    500: '#161472',
    950: '#000000',
  },
}
SCSS
$custom: #161472;
$custom-light: #66549c;
$custom-dark: #000000;
JSON
{
  "hex": "#161472",
  "rgb": {
    "r": 22,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 241.277,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28138,
    "c": 0.15206,
    "h": 271.8
  },
  "luminance": 0.01886
}

Semantic roles & 50–950 ramp

primary
#161472
secondary
#A6A839
accent
#ED3BE9
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161472

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

Preview Lab → · Contrast checker → · Palette generator →

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