#161678#161678

#161678 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.158 H 271.0°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#161678
RGBrgb(22, 22, 120)
HSLhsl(240, 69%, 28%)
HSVhsv(240, 82%, 47%)
CMYKcmyk(81.7%, 81.7%, 0%, 52.9%)
CIE-LABlab(16.00, 36.07, -54.51)
CIE-LCHlch(16.00, 65.36, 303.50°)
OKLaboklab(29.15% 0.0028 -0.1578)
OKLCHoklch(29.15% 0.158 271)
XYZxyz(4.0068, 2.1000, 17.9598)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161678 #787816
analogous
#164778 #161678 #471678
triadic
#161678 #781616 #167816
tetradic
#161678 #781647 #787816 #167847
square
#161678 #781647 #787816 #167847
split-complementary
#161678 #784716 #477816
monochromatic
#05051A #0D0D44 #161678 #1F1FAC #2F2FD9

Accessibility & contrast

On white

14.79
#161678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161678
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161678#FFFFFF#000000##FFFFFF
##1616781.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161678;
/* rgb */ color: rgb(22, 22, 120);
/* oklch */ color: oklch(29.1% 0.158 271.0);
Tailwind
colors: {
  custom: {
    50: '#6755a0',
    500: '#161678',
    950: '#000000',
  },
}
SCSS
$custom: #161678;
$custom-light: #6755a0;
$custom-dark: #000000;
JSON
{
  "hex": "#161678",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 240,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29145,
    "c": 0.15783,
    "h": 271
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#161678
secondary
#ADAD3C
accent
#EC3CEC
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161678

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

Preview Lab → · Contrast checker → · Palette generator →

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