#16167F#16167F

#16167F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.167 H 270.4°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#16167F
RGBrgb(22, 22, 127)
HSLhsl(240, 70%, 29%)
HSVhsv(240, 83%, 50%)
CMYKcmyk(82.7%, 82.7%, 0%, 50.2%)
CIE-LABlab(16.87, 38.47, -57.54)
CIE-LCHlch(16.87, 69.21, 303.77°)
OKLaboklab(30.01% 0.0013 -0.1666)
OKLCHoklch(30.01% 0.167 270.4)
XYZxyz(4.4473, 2.2762, 20.2795)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16167F #7F7F16
analogous
#164B7F #16167F #4B167F
triadic
#16167F #7F1616 #167F16
tetradic
#16167F #7F164B #7F7F16 #167F4B
square
#16167F #7F164B #7F7F16 #167F4B
split-complementary
#16167F #7F4B16 #4B7F16
monochromatic
#05051A #0D0D4B #16167F #1F1FB3 #3434DC

Accessibility & contrast

On white

14.43
#16167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#16167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16167F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16167F#FFFFFF#000000##FFFFFF
##16167F1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16167f;
/* rgb */ color: rgb(22, 22, 127);
/* oklch */ color: oklch(30.0% 0.167 270.4);
Tailwind
colors: {
  custom: {
    50: '#6956a5',
    500: '#16167f',
    950: '#000000',
  },
}
SCSS
$custom: #16167f;
$custom-light: #6956a5;
$custom-dark: #000000;
JSON
{
  "hex": "#16167f",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 240,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30006,
    "c": 0.16659,
    "h": 270.4
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16167F

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

Preview Lab → · Contrast checker → · Palette generator →

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