#16179E#16179E

#16179E is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.0% C 0.203 H 268.5°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#16179E
RGBrgb(22, 23, 158)
HSLhsl(240, 76%, 35%)
HSVhsv(240, 86%, 62%)
CMYKcmyk(86.1%, 85.4%, 0%, 38%)
CIE-LABlab(21.02, 48.05, -69.98)
CIE-LCHlch(21.02, 84.89, 304.48°)
OKLaboklab(34.02% -0.0055 -0.2026)
OKLCHoklch(34.02% 0.203 268.5)
XYZxyz(6.8067, 3.2512, 32.6099)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16179E #9E9D16
analogous
#165B9E #16179E #59169E
triadic
#16179E #9E1617 #179E16
tetradic
#16179E #9E165B #9E9D16 #169E59
square
#16179E #9E165B #9E9D16 #169E59
split-complementary
#16179E #9E5916 #5B9E16
monochromatic
#070733 #0F0F68 #16179E #1D1FD4 #494AE6

Accessibility & contrast

On white

12.72
#16179E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#16179E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16179E
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16179E#FFFFFF#000000##FFFFFF
##16179E1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A2
Deuteranopia (green-blind)
#002B9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #16179e;
/* rgb */ color: rgb(22, 23, 158);
/* oklch */ color: oklch(34.0% 0.203 268.5);
Tailwind
colors: {
  custom: {
    50: '#7259bc',
    500: '#16179e',
    950: '#000000',
  },
}
SCSS
$custom: #16179e;
$custom-light: #7259bc;
$custom-dark: #000000;
JSON
{
  "hex": "#16179e",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 239.559,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3402,
    "c": 0.20266,
    "h": 268.5
  },
  "luminance": 0.03252
}

Semantic roles & 50–950 ramp

primary
#16179E
secondary
#C7C649
accent
#F136F2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #16179E

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

Preview Lab → · Contrast checker → · Palette generator →

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