#16168B#16168B

#16168B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.181 H 269.6°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#16168B
RGBrgb(22, 22, 139)
HSLhsl(240, 73%, 32%)
HSVhsv(240, 84%, 55%)
CMYKcmyk(84.2%, 84.2%, 0%, 45.5%)
CIE-LABlab(18.40, 42.46, -62.58)
CIE-LCHlch(18.40, 75.63, 304.16°)
OKLaboklab(31.51% -0.0013 -0.1812)
OKLCHoklch(31.51% 0.181 269.6)
XYZxyz(5.2764, 2.6078, 24.6464)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16168B #8B8B16
analogous
#16518B #16168B #51168B
triadic
#16168B #8B1616 #168B16
tetradic
#16168B #8B1651 #8B8B16 #168B51
square
#16168B #8B1651 #8B8B16 #168B51
split-complementary
#16168B #8B5116 #518B16
monochromatic
#050521 #0E0E56 #16168B #1E1EC0 #3B3BE0

Accessibility & contrast

On white

13.80
#16168B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#16168B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16168B
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16168B#FFFFFF#000000##FFFFFF
##16168B1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002789
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #16168b;
/* rgb */ color: rgb(22, 22, 139);
/* oklch */ color: oklch(31.5% 0.181 269.6);
Tailwind
colors: {
  custom: {
    50: '#6d57ae',
    500: '#16168b',
    950: '#000000',
  },
}
SCSS
$custom: #16168b;
$custom-light: #6d57ae;
$custom-dark: #000000;
JSON
{
  "hex": "#16168b",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 139
  },
  "hsl": {
    "h": 240,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31505,
    "c": 0.18118,
    "h": 269.6
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#16168B
secondary
#BFBF3E
accent
#EF38EF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080310
muted
#7B787F

Preview Lab

Preview with #16168B

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

Preview Lab → · Contrast checker → · Palette generator →

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