#16179F#16179F

#16179F is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.1% C 0.204 H 268.4°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#16179F
RGBrgb(22, 23, 159)
HSLhsl(240, 76%, 35%)
HSVhsv(240, 86%, 62%)
CMYKcmyk(86.2%, 85.5%, 0%, 37.6%)
CIE-LABlab(21.15, 48.37, -70.37)
CIE-LCHlch(21.15, 85.39, 304.50°)
OKLaboklab(34.15% -0.0057 -0.2037)
OKLCHoklch(34.15% 0.204 268.4)
XYZxyz(6.8931, 3.2857, 33.0651)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16179F #9F9E16
analogous
#165B9F #16179F #59169F
triadic
#16179F #9F1617 #179F16
tetradic
#16179F #9F165B #9F9E16 #169F59
square
#16179F #9F165B #9F9E16 #169F59
split-complementary
#16179F #9F5916 #5B9F16
monochromatic
#070733 #0F0F69 #16179F #1D1FD5 #4A4BE6

Accessibility & contrast

On white

12.67
#16179F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#16179F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16179F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16179F#FFFFFF#000000##FFFFFF
##16179F1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002B9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #16179f;
/* rgb */ color: rgb(22, 23, 159);
/* oklch */ color: oklch(34.1% 0.204 268.4);
Tailwind
colors: {
  custom: {
    50: '#7259bd',
    500: '#16179f',
    950: '#000000',
  },
}
SCSS
$custom: #16179f;
$custom-light: #7259bd;
$custom-dark: #000000;
JSON
{
  "hex": "#16179f",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 159
  },
  "hsl": {
    "h": 239.562,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34147,
    "c": 0.20381,
    "h": 268.4
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16179F

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

Preview Lab → · Contrast checker → · Palette generator →

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