#161799#161799

#161799 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.197 H 268.7°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#161799
RGBrgb(22, 23, 153)
HSLhsl(240, 75%, 34%)
HSVhsv(240, 86%, 60%)
CMYKcmyk(85.6%, 85%, 0%, 40%)
CIE-LABlab(20.37, 46.48, -67.99)
CIE-LCHlch(20.37, 82.36, 304.36°)
OKLaboklab(33.39% -0.0044 -0.1968)
OKLCHoklch(33.39% 0.197 268.7)
XYZxyz(6.3851, 3.0825, 30.3893)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161799 #999816
analogous
#165999 #161799 #571699
triadic
#161799 #991617 #179916
tetradic
#161799 #991659 #999816 #169957
square
#161799 #991659 #999816 #169957
split-complementary
#161799 #995716 #599916
monochromatic
#07072E #0E0F63 #161799 #1E1FCF #4546E4

Accessibility & contrast

On white

12.99
#161799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#161799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161799
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161799#FFFFFF#000000##FFFFFF
##1617991.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00389C
Deuteranopia (green-blind)
#002A97
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #161799;
/* rgb */ color: rgb(22, 23, 153);
/* oklch */ color: oklch(33.4% 0.197 268.7);
Tailwind
colors: {
  custom: {
    50: '#7158b9',
    500: '#161799',
    950: '#000000',
  },
}
SCSS
$custom: #161799;
$custom-light: #7158b9;
$custom-dark: #000000;
JSON
{
  "hex": "#161799",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 153
  },
  "hsl": {
    "h": 239.542,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33385,
    "c": 0.1969,
    "h": 268.7
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#161799
secondary
#C5C446
accent
#F036F1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #161799

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

Preview Lab → · Contrast checker → · Palette generator →

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