#16167C#16167C

#16167C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.163 H 270.7°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#16167C
RGBrgb(22, 22, 124)
HSLhsl(240, 70%, 29%)
HSVhsv(240, 82%, 49%)
CMYKcmyk(82.3%, 82.3%, 0%, 51.4%)
CIE-LABlab(16.50, 37.45, -56.25)
CIE-LCHlch(16.50, 67.57, 303.66°)
OKLaboklab(29.64% 0.0019 -0.1628)
OKLCHoklch(29.64% 0.163 270.7)
XYZxyz(4.2546, 2.1991, 19.2651)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16167C #7C7C16
analogous
#16497C #16167C #49167C
triadic
#16167C #7C1616 #167C16
tetradic
#16167C #7C1649 #7C7C16 #167C49
square
#16167C #7C1649 #7C7C16 #167C49
split-complementary
#16167C #7C4916 #497C16
monochromatic
#05051A #0D0D48 #16167C #1F1FB0 #3232DB

Accessibility & contrast

On white

14.58
#16167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#16167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16167C
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16167C#FFFFFF#000000##FFFFFF
##16167C1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00237A
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16167c;
/* rgb */ color: rgb(22, 22, 124);
/* oklch */ color: oklch(29.6% 0.163 270.7);
Tailwind
colors: {
  custom: {
    50: '#6956a3',
    500: '#16167c',
    950: '#000000',
  },
}
SCSS
$custom: #16167c;
$custom-light: #6956a3;
$custom-dark: #000000;
JSON
{
  "hex": "#16167c",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 240,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29636,
    "c": 0.16286,
    "h": 270.7
  },
  "luminance": 0.022
}

Semantic roles & 50–950 ramp

primary
#16167C
secondary
#B1B13D
accent
#ED3BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #16167C

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

Preview Lab → · Contrast checker → · Palette generator →

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