#161474#161474

#161474 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.155 H 271.6°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#161474
RGBrgb(22, 20, 116)
HSLhsl(241, 71%, 27%)
HSVhsv(241, 83%, 45%)
CMYKcmyk(81%, 82.8%, 0%, 54.5%)
CIE-LABlab(15.12, 35.80, -53.39)
CIE-LCHlch(15.12, 64.28, 303.84°)
OKLaboklab(28.38% 0.0044 -0.1545)
OKLCHoklch(28.38% 0.155 271.6)
XYZxyz(3.7324, 1.9314, 16.6957)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161474 #727414
analogous
#144274 #161474 #461474
triadic
#161474 #741614 #147416
tetradic
#161474 #741442 #727414 #147446
square
#161474 #741442 #727414 #147446
split-complementary
#161474 #744614 #427414
monochromatic
#05051A #0C0B40 #161474 #201DA8 #2C28DA

Accessibility & contrast

On white

15.15
#161474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#161474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161474
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161474#FFFFFF#000000##FFFFFF
##1614741.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002172
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #161474;
/* rgb */ color: rgb(22, 20, 116);
/* oklch */ color: oklch(28.4% 0.155 271.6);
Tailwind
colors: {
  custom: {
    50: '#67549d',
    500: '#161474',
    950: '#000000',
  },
}
SCSS
$custom: #161474;
$custom-light: #67549d;
$custom-dark: #000000;
JSON
{
  "hex": "#161474",
  "rgb": {
    "r": 22,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 241.25,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28384,
    "c": 0.1546,
    "h": 271.6
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#161474
secondary
#A8AA3A
accent
#ED3AEA
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #161474

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

Preview Lab → · Contrast checker → · Palette generator →

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