#161779#161779

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

Color values

HEX#161779
RGBrgb(22, 23, 121)
HSLhsl(239, 69%, 28%)
HSVhsv(239, 82%, 47%)
CMYKcmyk(81.8%, 81%, 0%, 52.5%)
CIE-LABlab(16.32, 35.85, -54.62)
CIE-LCHlch(16.32, 65.34, 303.28°)
OKLaboklab(29.4% 0.0023 -0.1582)
OKLCHoklch(29.4% 0.158 270.8)
XYZxyz(4.0873, 2.1634, 18.2876)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161779 #797816
analogous
#164879 #161779 #461679
triadic
#161779 #791617 #177916
tetradic
#161779 #791648 #797816 #167946
square
#161779 #791648 #797816 #167946
split-complementary
#161779 #794616 #487916
monochromatic
#05051A #0D0D45 #161779 #1F21AD #3032D9

Accessibility & contrast

On white

14.66
#161779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161779
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161779#FFFFFF#000000##FFFFFF
##1617791.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #161779;
/* rgb */ color: rgb(22, 23, 121);
/* oklch */ color: oklch(29.4% 0.158 270.8);
Tailwind
colors: {
  custom: {
    50: '#6856a1',
    500: '#161779',
    950: '#000000',
  },
}
SCSS
$custom: #161779;
$custom-light: #6856a1;
$custom-dark: #000000;
JSON
{
  "hex": "#161779",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 239.394,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29404,
    "c": 0.15818,
    "h": 270.8
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #161779

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

Preview Lab → · Contrast checker → · Palette generator →

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