#161976#161976

#161976 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.152 H 270.8°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#161976
RGBrgb(22, 25, 118)
HSLhsl(238, 69%, 27%)
HSVhsv(238, 81%, 46%)
CMYKcmyk(81.4%, 78.8%, 0%, 53.7%)
CIE-LABlab(16.37, 33.62, -52.61)
CIE-LCHlch(16.37, 62.43, 302.58°)
OKLaboklab(29.33% 0.0021 -0.1524)
OKLCHoklch(29.33% 0.152 270.8)
XYZxyz(3.9474, 2.1734, 17.3475)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161976 #767316
analogous
#164976 #161976 #431676
triadic
#161976 #761619 #197616
tetradic
#161976 #761649 #767316 #167643
square
#161976 #761649 #767316 #167643
split-complementary
#161976 #764316 #497616
monochromatic
#05051A #0C0E42 #161976 #2024AA #2E34D8

Accessibility & contrast

On white

14.64
#161976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#161976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161976
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161976#FFFFFF#000000##FFFFFF
##1619761.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #161976;
/* rgb */ color: rgb(22, 25, 118);
/* oklch */ color: oklch(29.3% 0.152 270.8);
Tailwind
colors: {
  custom: {
    50: '#67579f',
    500: '#161976',
    950: '#000000',
  },
}
SCSS
$custom: #161976;
$custom-light: #67579f;
$custom-dark: #000000;
JSON
{
  "hex": "#161976",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 238.125,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29334,
    "c": 0.15236,
    "h": 270.8
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#161976
secondary
#ACA83C
accent
#E63CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #161976

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

Preview Lab → · Contrast checker → · Palette generator →

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