#16167A#16167A

#16167A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.160 H 270.8°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#16167A
RGBrgb(22, 22, 122)
HSLhsl(240, 69%, 28%)
HSVhsv(240, 82%, 48%)
CMYKcmyk(82%, 82%, 0%, 52.2%)
CIE-LABlab(16.25, 36.76, -55.38)
CIE-LCHlch(16.25, 66.47, 303.58°)
OKLaboklab(29.39% 0.0024 -0.1603)
OKLCHoklch(29.39% 0.16 270.8)
XYZxyz(4.1294, 2.1491, 18.6058)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16167A #7A7A16
analogous
#16487A #16167A #48167A
triadic
#16167A #7A1616 #167A16
tetradic
#16167A #7A1648 #7A7A16 #167A48
square
#16167A #7A1648 #7A7A16 #167A48
split-complementary
#16167A #7A4816 #487A16
monochromatic
#05051A #0D0D46 #16167A #1F1FAE #3131DA

Accessibility & contrast

On white

14.69
#16167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#16167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16167A
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16167A#FFFFFF#000000##FFFFFF
##16167A1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7D
Deuteranopia (green-blind)
#002378
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #16167a;
/* rgb */ color: rgb(22, 22, 122);
/* oklch */ color: oklch(29.4% 0.160 270.8);
Tailwind
colors: {
  custom: {
    50: '#6855a2',
    500: '#16167a',
    950: '#000000',
  },
}
SCSS
$custom: #16167a;
$custom-light: #6855a2;
$custom-dark: #000000;
JSON
{
  "hex": "#16167a",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 240,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.2939,
    "c": 0.16036,
    "h": 270.8
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#16167A
secondary
#AFAF3D
accent
#EC3CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16167A

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

Preview Lab → · Contrast checker → · Palette generator →

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