#161999#161999

#161999 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.195 H 268.6°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#161999
RGBrgb(22, 25, 153)
HSLhsl(239, 75%, 34%)
HSVhsv(239, 86%, 60%)
CMYKcmyk(85.6%, 83.7%, 0%, 40%)
CIE-LABlab(20.69, 45.53, -67.46)
CIE-LCHlch(20.69, 81.39, 304.02°)
OKLaboklab(33.61% -0.0047 -0.1953)
OKLCHoklch(33.61% 0.195 268.6)
XYZxyz(6.4263, 3.1650, 30.4030)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161999 #999616
analogous
#165B99 #161999 #551699
triadic
#161999 #991619 #199916
tetradic
#161999 #99165B #999616 #169955
square
#161999 #99165B #999616 #169955
split-complementary
#161999 #995516 #5B9916
monochromatic
#07082E #0E1063 #161999 #1E22CF #4549E4

Accessibility & contrast

On white

12.86
#161999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#161999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161999
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161999#FFFFFF#000000##FFFFFF
##1619991.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00389C
Deuteranopia (green-blind)
#002B97
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #161999;
/* rgb */ color: rgb(22, 25, 153);
/* oklch */ color: oklch(33.6% 0.195 268.6);
Tailwind
colors: {
  custom: {
    50: '#7059b8',
    500: '#161999',
    950: '#000000',
  },
}
SCSS
$custom: #161999;
$custom-light: #7059b8;
$custom-dark: #000000;
JSON
{
  "hex": "#161999",
  "rgb": {
    "r": 22,
    "g": 25,
    "b": 153
  },
  "hsl": {
    "h": 238.626,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33608,
    "c": 0.19541,
    "h": 268.6
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#161999
secondary
#C5C246
accent
#ED36F1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #161999

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

Preview Lab → · Contrast checker → · Palette generator →

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