#16167D#16167D

#16167D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.164 H 270.6°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#16167D
RGBrgb(22, 22, 125)
HSLhsl(240, 70%, 29%)
HSVhsv(240, 82%, 49%)
CMYKcmyk(82.4%, 82.4%, 0%, 51%)
CIE-LABlab(16.62, 37.79, -56.68)
CIE-LCHlch(16.62, 68.12, 303.69°)
OKLaboklab(29.76% 0.0017 -0.1641)
OKLCHoklch(29.76% 0.164 270.6)
XYZxyz(4.3182, 2.2246, 19.5999)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16167D #7D7D16
analogous
#164A7D #16167D #4A167D
triadic
#16167D #7D1616 #167D16
tetradic
#16167D #7D164A #7D7D16 #167D4A
square
#16167D #7D164A #7D7D16 #167D4A
split-complementary
#16167D #7D4A16 #4A7D16
monochromatic
#05051A #0D0D49 #16167D #1F1FB1 #3232DB

Accessibility & contrast

On white

14.53
#16167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#16167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16167D
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16167D#FFFFFF#000000##FFFFFF
##16167D1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16167d;
/* rgb */ color: rgb(22, 22, 125);
/* oklch */ color: oklch(29.8% 0.164 270.6);
Tailwind
colors: {
  custom: {
    50: '#6956a4',
    500: '#16167d',
    950: '#000000',
  },
}
SCSS
$custom: #16167d;
$custom-light: #6956a4;
$custom-dark: #000000;
JSON
{
  "hex": "#16167d",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 240,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29759,
    "c": 0.16411,
    "h": 270.6
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#16167D
secondary
#B2B23D
accent
#ED3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #16167D

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

Preview Lab → · Contrast checker → · Palette generator →

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