#16167E#16167E

#16167E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.165 H 270.5°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#16167E
RGBrgb(22, 22, 126)
HSLhsl(240, 70%, 29%)
HSVhsv(240, 83%, 49%)
CMYKcmyk(82.5%, 82.5%, 0%, 50.6%)
CIE-LABlab(16.75, 38.13, -57.11)
CIE-LCHlch(16.75, 68.67, 303.73°)
OKLaboklab(29.88% 0.0015 -0.1653)
OKLCHoklch(29.88% 0.165 270.5)
XYZxyz(4.3824, 2.2502, 19.9380)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16167E #7E7E16
analogous
#164A7E #16167E #4A167E
triadic
#16167E #7E1616 #167E16
tetradic
#16167E #7E164A #7E7E16 #167E4A
square
#16167E #7E164A #7E7E16 #167E4A
split-complementary
#16167E #7E4A16 #4A7E16
monochromatic
#05051A #0D0D4A #16167E #1F1FB2 #3333DB

Accessibility & contrast

On white

14.48
#16167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16167E
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16167E#FFFFFF#000000##FFFFFF
##16167E1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16167e;
/* rgb */ color: rgb(22, 22, 126);
/* oklch */ color: oklch(29.9% 0.165 270.5);
Tailwind
colors: {
  custom: {
    50: '#6956a5',
    500: '#16167e',
    950: '#000000',
  },
}
SCSS
$custom: #16167e;
$custom-light: #6956a5;
$custom-dark: #000000;
JSON
{
  "hex": "#16167e",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 240,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.29883,
    "c": 0.16536,
    "h": 270.5
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16167E

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

Preview Lab → · Contrast checker → · Palette generator →

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