#16168C#16168C

#16168C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.182 H 269.5°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#16168C
RGBrgb(22, 22, 140)
HSLhsl(240, 73%, 32%)
HSVhsv(240, 84%, 55%)
CMYKcmyk(84.3%, 84.3%, 0%, 45.1%)
CIE-LABlab(18.53, 42.79, -62.99)
CIE-LCHlch(18.53, 76.15, 304.19°)
OKLaboklab(31.63% -0.0015 -0.1824)
OKLCHoklch(31.63% 0.182 269.5)
XYZxyz(5.3498, 2.6372, 25.0329)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16168C #8C8C16
analogous
#16518C #16168C #51168C
triadic
#16168C #8C1616 #168C16
tetradic
#16168C #8C1651 #8C8C16 #168C51
square
#16168C #8C1651 #8C8C16 #168C51
split-complementary
#16168C #8C5116 #518C16
monochromatic
#050522 #0E0E57 #16168C #1E1EC1 #3C3CE0

Accessibility & contrast

On white

13.75
#16168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#16168C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16168C
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16168C#FFFFFF#000000##FFFFFF
##16168C1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338F
Deuteranopia (green-blind)
#00278A
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #16168c;
/* rgb */ color: rgb(22, 22, 140);
/* oklch */ color: oklch(31.6% 0.182 269.5);
Tailwind
colors: {
  custom: {
    50: '#6d57af',
    500: '#16168c',
    950: '#000000',
  },
}
SCSS
$custom: #16168c;
$custom-light: #6d57af;
$custom-dark: #000000;
JSON
{
  "hex": "#16168c",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 240,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31631,
    "c": 0.18238,
    "h": 269.5
  },
  "luminance": 0.02638
}

Semantic roles & 50–950 ramp

primary
#16168C
secondary
#C0C03E
accent
#F038F0
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #16168C

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

Preview Lab → · Contrast checker → · Palette generator →

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