#161778#161778

#161778 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.157 H 270.9°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#161778
RGBrgb(22, 23, 120)
HSLhsl(239, 69%, 28%)
HSVhsv(239, 82%, 47%)
CMYKcmyk(81.7%, 80.8%, 0%, 52.9%)
CIE-LABlab(16.20, 35.50, -54.18)
CIE-LCHlch(16.20, 64.78, 303.24°)
OKLaboklab(29.28% 0.0025 -0.1569)
OKLCHoklch(29.28% 0.157 270.9)
XYZxyz(4.0263, 2.1390, 17.9663)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161778 #787716
analogous
#164878 #161778 #461678
triadic
#161778 #781617 #177816
tetradic
#161778 #781648 #787716 #167846
square
#161778 #781648 #787716 #167846
split-complementary
#161778 #784616 #487816
monochromatic
#05051A #0D0D44 #161778 #1F21AC #2F31D9

Accessibility & contrast

On white

14.71
#161778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161778
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161778#FFFFFF#000000##FFFFFF
##1617781.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002376
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #161778;
/* rgb */ color: rgb(22, 23, 120);
/* oklch */ color: oklch(29.3% 0.157 270.9);
Tailwind
colors: {
  custom: {
    50: '#6756a0',
    500: '#161778',
    950: '#000000',
  },
}
SCSS
$custom: #161778;
$custom-light: #6756a0;
$custom-dark: #000000;
JSON
{
  "hex": "#161778",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 239.388,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29283,
    "c": 0.1569,
    "h": 270.9
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#161778
secondary
#ADAC3C
accent
#EA3CEC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161778

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

Preview Lab → · Contrast checker → · Palette generator →

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