#161776#161776

#161776 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.154 H 271.1°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#161776
RGBrgb(22, 23, 118)
HSLhsl(239, 69%, 27%)
HSVhsv(239, 81%, 46%)
CMYKcmyk(81.4%, 80.5%, 0%, 53.7%)
CIE-LABlab(15.96, 34.80, -53.30)
CIE-LCHlch(15.96, 63.65, 303.14°)
OKLaboklab(29.04% 0.0029 -0.1543)
OKLCHoklch(29.04% 0.154 271.1)
XYZxyz(3.9062, 2.0909, 17.3337)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161776 #767516
analogous
#164776 #161776 #451676
triadic
#161776 #761617 #177616
tetradic
#161776 #761647 #767516 #167645
square
#161776 #761647 #767516 #167645
split-complementary
#161776 #764516 #477616
monochromatic
#05051A #0C0D42 #161776 #2021AA #2E30D8

Accessibility & contrast

On white

14.81
#161776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#161776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161776
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161776#FFFFFF#000000##FFFFFF
##1617761.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002374
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161776;
/* rgb */ color: rgb(22, 23, 118);
/* oklch */ color: oklch(29.0% 0.154 271.1);
Tailwind
colors: {
  custom: {
    50: '#67569f',
    500: '#161776',
    950: '#000000',
  },
}
SCSS
$custom: #161776;
$custom-light: #67569f;
$custom-dark: #000000;
JSON
{
  "hex": "#161776",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 239.375,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29041,
    "c": 0.15435,
    "h": 271.1
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#161776
secondary
#ACAA3C
accent
#EA3CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #161776

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

Preview Lab → · Contrast checker → · Palette generator →

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