#161477#161477

#161477 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.158 H 271.3°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#161477
RGBrgb(22, 20, 119)
HSLhsl(241, 71%, 27%)
HSVhsv(241, 83%, 47%)
CMYKcmyk(81.5%, 83.2%, 0%, 53.3%)
CIE-LABlab(15.50, 36.82, -54.70)
CIE-LCHlch(15.50, 65.94, 303.95°)
OKLaboklab(28.76% 0.0037 -0.1583)
OKLCHoklch(28.76% 0.158 271.3)
XYZxyz(3.9097, 2.0024, 17.6296)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161477 #757714
analogous
#144477 #161477 #481477
triadic
#161477 #771614 #147716
tetradic
#161477 #771444 #757714 #147748
square
#161477 #771444 #757714 #147748
split-complementary
#161477 #774814 #447714
monochromatic
#05041A #0C0B43 #161477 #201DAB #2E2ADB

Accessibility & contrast

On white

14.99
#161477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#161477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161477
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161477#FFFFFF#000000##FFFFFF
##1614771.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002275
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #161477;
/* rgb */ color: rgb(22, 20, 119);
/* oklch */ color: oklch(28.8% 0.158 271.3);
Tailwind
colors: {
  custom: {
    50: '#67549f',
    500: '#161477',
    950: '#000000',
  },
}
SCSS
$custom: #161477;
$custom-light: #67549f;
$custom-dark: #000000;
JSON
{
  "hex": "#161477",
  "rgb": {
    "r": 22,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 241.212,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.28756,
    "c": 0.15838,
    "h": 271.3
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#161477
secondary
#ABAD3A
accent
#EE3AEA
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #161477

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

Preview Lab → · Contrast checker → · Palette generator →

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