#16168D#16168D

#16168D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.184 H 269.4°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#16168D
RGBrgb(22, 22, 141)
HSLhsl(240, 73%, 32%)
HSVhsv(240, 84%, 55%)
CMYKcmyk(84.4%, 84.4%, 0%, 44.7%)
CIE-LABlab(18.66, 43.12, -63.40)
CIE-LCHlch(18.66, 76.67, 304.22°)
OKLaboklab(31.76% -0.0018 -0.1836)
OKLCHoklch(31.76% 0.184 269.4)
XYZxyz(5.4239, 2.6668, 25.4230)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16168D #8D8D16
analogous
#16528D #16168D #52168D
triadic
#16168D #8D1616 #168D16
tetradic
#16168D #8D1652 #8D8D16 #168D52
square
#16168D #8D1652 #8D8D16 #168D52
split-complementary
#16168D #8D5216 #528D16
monochromatic
#050523 #0E0E58 #16168D #1E1EC2 #3D3DE1

Accessibility & contrast

On white

13.70
#16168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#16168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16168D
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16168D#FFFFFF#000000##FFFFFF
##16168D1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00278B
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #16168d;
/* rgb */ color: rgb(22, 22, 141);
/* oklch */ color: oklch(31.8% 0.184 269.4);
Tailwind
colors: {
  custom: {
    50: '#6d57b0',
    500: '#16168d',
    950: '#000000',
  },
}
SCSS
$custom: #16168d;
$custom-light: #6d57b0;
$custom-dark: #000000;
JSON
{
  "hex": "#16168d",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 240,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.31757,
    "c": 0.18357,
    "h": 269.4
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#16168D
secondary
#C1C13E
accent
#F038F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #16168D

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

Preview Lab → · Contrast checker → · Palette generator →

#16168D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva