#161899#161899

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

Color values

HEX#161899
RGBrgb(22, 24, 153)
HSLhsl(239, 75%, 34%)
HSVhsv(239, 86%, 60%)
CMYKcmyk(85.6%, 84.3%, 0%, 40%)
CIE-LABlab(20.53, 46.02, -67.73)
CIE-LCHlch(20.53, 81.88, 304.19°)
OKLaboklab(33.5% -0.0046 -0.1961)
OKLCHoklch(33.5% 0.196 268.7)
XYZxyz(6.4053, 3.1230, 30.3960)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161899 #999716
analogous
#165A99 #161899 #561699
triadic
#161899 #991618 #189916
tetradic
#161899 #99165A #999716 #169956
square
#161899 #99165A #999716 #169956
split-complementary
#161899 #995616 #5A9916
monochromatic
#07072E #0E1063 #161899 #1E20CF #4548E4

Accessibility & contrast

On white

12.92
#161899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161899
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161899#FFFFFF#000000##FFFFFF
##1618991.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.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: #161899;
/* rgb */ color: rgb(22, 24, 153);
/* oklch */ color: oklch(33.5% 0.196 268.7);
Tailwind
colors: {
  custom: {
    50: '#7059b8',
    500: '#161899',
    950: '#000000',
  },
}
SCSS
$custom: #161899;
$custom-light: #7059b8;
$custom-dark: #000000;
JSON
{
  "hex": "#161899",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 153
  },
  "hsl": {
    "h": 239.084,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33495,
    "c": 0.19616,
    "h": 268.7
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

primary
#161899
secondary
#C5C346
accent
#EF36F1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090412
muted
#7B7981

Preview Lab

Preview with #161899

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

Preview Lab → · Contrast checker → · Palette generator →

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