#16178E#16178E

#16178E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.184 H 269.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#16178E
RGBrgb(22, 23, 142)
HSLhsl(240, 73%, 32%)
HSVhsv(240, 85%, 56%)
CMYKcmyk(84.5%, 83.8%, 0%, 44.3%)
CIE-LABlab(18.95, 42.95, -63.53)
CIE-LCHlch(18.95, 76.69, 304.06°)
OKLaboklab(32% -0.0022 -0.184)
OKLCHoklch(32% 0.184 269.3)
XYZxyz(5.5181, 2.7357, 25.8232)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16178E #8E8D16
analogous
#16538E #16178E #51168E
triadic
#16178E #8E1617 #178E16
tetradic
#16178E #8E1653 #8E8D16 #168E51
square
#16178E #8E1653 #8E8D16 #168E51
split-complementary
#16178E #8E5116 #538E16
monochromatic
#060624 #0E0E59 #16178E #1E20C3 #3D3FE1

Accessibility & contrast

On white

13.57
#16178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#16178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16178E
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16178E#FFFFFF#000000##FFFFFF
##16178E1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16178e;
/* rgb */ color: rgb(22, 23, 142);
/* oklch */ color: oklch(32.0% 0.184 269.3);
Tailwind
colors: {
  custom: {
    50: '#6e58b0',
    500: '#16178e',
    950: '#000000',
  },
}
SCSS
$custom: #16178e;
$custom-light: #6e58b0;
$custom-dark: #000000;
JSON
{
  "hex": "#16178e",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 239.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.31999,
    "c": 0.18398,
    "h": 269.3
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#16178E
secondary
#C1C03F
accent
#EE38F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #16178E

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

Preview Lab → · Contrast checker → · Palette generator →

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