#16168F#16168F

#16168F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.186 H 269.3°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#16168F
RGBrgb(22, 22, 143)
HSLhsl(240, 73%, 32%)
HSVhsv(240, 85%, 56%)
CMYKcmyk(84.6%, 84.6%, 0%, 43.9%)
CIE-LABlab(18.92, 43.76, -64.22)
CIE-LCHlch(18.92, 77.71, 304.27°)
OKLaboklab(32.01% -0.0022 -0.1859)
OKLCHoklch(32.01% 0.186 269.3)
XYZxyz(5.5740, 2.7269, 26.2138)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16168F #8F8F16
analogous
#16538F #16168F #53168F
triadic
#16168F #8F1616 #168F16
tetradic
#16168F #8F1653 #8F8F16 #168F53
square
#16168F #8F1653 #8F8F16 #168F53
split-complementary
#16168F #8F5316 #538F16
monochromatic
#060625 #0E0E5A #16168F #1E1EC4 #3E3EE1

Accessibility & contrast

On white

13.59
#16168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#16168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16168F
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16168F#FFFFFF#000000##FFFFFF
##16168F1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00278D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #16168f;
/* rgb */ color: rgb(22, 22, 143);
/* oklch */ color: oklch(32.0% 0.186 269.3);
Tailwind
colors: {
  custom: {
    50: '#6e57b1',
    500: '#16168f',
    950: '#000000',
  },
}
SCSS
$custom: #16168f;
$custom-light: #6e57b1;
$custom-dark: #000000;
JSON
{
  "hex": "#16168f",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 240,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3201,
    "c": 0.18594,
    "h": 269.3
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16168F

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

Preview Lab → · Contrast checker → · Palette generator →

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