#161679#161679

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

Color values

HEX#161679
RGBrgb(22, 22, 121)
HSLhsl(240, 69%, 28%)
HSVhsv(240, 82%, 47%)
CMYKcmyk(81.8%, 81.8%, 0%, 52.5%)
CIE-LABlab(16.13, 36.42, -54.94)
CIE-LCHlch(16.13, 65.92, 303.54°)
OKLaboklab(29.27% 0.0026 -0.1591)
OKLCHoklch(29.27% 0.159 270.9)
XYZxyz(4.0678, 2.1244, 18.2811)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161679 #797916
analogous
#164779 #161679 #471679
triadic
#161679 #791616 #167916
tetradic
#161679 #791647 #797916 #167947
square
#161679 #791647 #797916 #167947
split-complementary
#161679 #794716 #477916
monochromatic
#05051A #0D0D45 #161679 #1F1FAD #3030D9

Accessibility & contrast

On white

14.74
#161679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161679
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161679#FFFFFF#000000##FFFFFF
##1616791.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161679;
/* rgb */ color: rgb(22, 22, 121);
/* oklch */ color: oklch(29.3% 0.159 270.9);
Tailwind
colors: {
  custom: {
    50: '#6855a1',
    500: '#161679',
    950: '#000000',
  },
}
SCSS
$custom: #161679;
$custom-light: #6855a1;
$custom-dark: #000000;
JSON
{
  "hex": "#161679",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 240,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29267,
    "c": 0.1591,
    "h": 270.9
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161679

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

Preview Lab → · Contrast checker → · Palette generator →

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