#16167B#16167B

#16167B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.162 H 270.8°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#16167B
RGBrgb(22, 22, 123)
HSLhsl(240, 70%, 28%)
HSVhsv(240, 82%, 48%)
CMYKcmyk(82.1%, 82.1%, 0%, 51.8%)
CIE-LABlab(16.38, 37.10, -55.81)
CIE-LCHlch(16.38, 67.02, 303.62°)
OKLaboklab(29.51% 0.0021 -0.1616)
OKLCHoklch(29.51% 0.162 270.8)
XYZxyz(4.1917, 2.1740, 18.9338)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16167B #7B7B16
analogous
#16487B #16167B #48167B
triadic
#16167B #7B1616 #167B16
tetradic
#16167B #7B1648 #7B7B16 #167B48
square
#16167B #7B1648 #7B7B16 #167B48
split-complementary
#16167B #7B4816 #487B16
monochromatic
#05051A #0D0D47 #16167B #1F1FAF #3131DA

Accessibility & contrast

On white

14.64
#16167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16167B
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16167B#FFFFFF#000000##FFFFFF
##16167B1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002379
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16167b;
/* rgb */ color: rgb(22, 22, 123);
/* oklch */ color: oklch(29.5% 0.162 270.8);
Tailwind
colors: {
  custom: {
    50: '#6855a2',
    500: '#16167b',
    950: '#000000',
  },
}
SCSS
$custom: #16167b;
$custom-light: #6855a2;
$custom-dark: #000000;
JSON
{
  "hex": "#16167b",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 240,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29513,
    "c": 0.16161,
    "h": 270.8
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#16167B
secondary
#B0B03D
accent
#EC3BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16167B

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

Preview Lab → · Contrast checker → · Palette generator →

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