#16168E#16168E

#16168E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.185 H 269.4°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#16168E
RGBrgb(22, 22, 142)
HSLhsl(240, 73%, 32%)
HSVhsv(240, 85%, 56%)
CMYKcmyk(84.5%, 84.5%, 0%, 44.3%)
CIE-LABlab(18.79, 43.44, -63.81)
CIE-LCHlch(18.79, 77.19, 304.24°)
OKLaboklab(31.88% -0.002 -0.1847)
OKLCHoklch(31.88% 0.185 269.4)
XYZxyz(5.4986, 2.6967, 25.8167)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16168E #8E8E16
analogous
#16528E #16168E #52168E
triadic
#16168E #8E1616 #168E16
tetradic
#16168E #8E1652 #8E8E16 #168E52
square
#16168E #8E1652 #8E8E16 #168E52
split-complementary
#16168E #8E5216 #528E16
monochromatic
#060624 #0E0E59 #16168E #1E1EC3 #3D3DE1

Accessibility & contrast

On white

13.64
#16168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#16168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16168E
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16168E#FFFFFF#000000##FFFFFF
##16168E1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00278C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #16168e;
/* rgb */ color: rgb(22, 22, 142);
/* oklch */ color: oklch(31.9% 0.185 269.4);
Tailwind
colors: {
  custom: {
    50: '#6e57b0',
    500: '#16168e',
    950: '#000000',
  },
}
SCSS
$custom: #16168e;
$custom-light: #6e57b0;
$custom-dark: #000000;
JSON
{
  "hex": "#16168e",
  "rgb": {
    "r": 22,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 240,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.31883,
    "c": 0.18476,
    "h": 269.4
  },
  "luminance": 0.02697
}

Semantic roles & 50–950 ramp

primary
#16168E
secondary
#C1C13F
accent
#F038F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #16168E

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

Preview Lab → · Contrast checker → · Palette generator →

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