#16176F#16176F

#16176F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.145 H 271.7°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#16176F
RGBrgb(22, 23, 111)
HSLhsl(239, 67%, 26%)
HSVhsv(239, 80%, 44%)
CMYKcmyk(80.2%, 79.3%, 0%, 56.5%)
CIE-LABlab(15.12, 32.30, -50.15)
CIE-LCHlch(15.12, 59.65, 302.78°)
OKLaboklab(28.2% 0.0043 -0.1452)
OKLCHoklch(28.2% 0.145 271.7)
XYZxyz(3.5055, 1.9307, 15.2238)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16176F #6F6E16
analogous
#16436F #16176F #41166F
triadic
#16176F #6F1617 #176F16
tetradic
#16176F #6F1643 #6F6E16 #166F41
square
#16176F #6F1643 #6F6E16 #166F41
split-complementary
#16176F #6F4116 #436F16
monochromatic
#05051A #0C0C3C #16176F #2022A2 #2B2CD5

Accessibility & contrast

On white

15.15
#16176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#16176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16176F
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16176F#FFFFFF#000000##FFFFFF
##16176F1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #16176f;
/* rgb */ color: rgb(22, 23, 111);
/* oklch */ color: oklch(28.2% 0.145 271.7);
Tailwind
colors: {
  custom: {
    50: '#655599',
    500: '#16176f',
    950: '#000000',
  },
}
SCSS
$custom: #16176f;
$custom-light: #655599;
$custom-dark: #000000;
JSON
{
  "hex": "#16176f",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 239.326,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28203,
    "c": 0.14525,
    "h": 271.7
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#16176F
secondary
#A5A43C
accent
#E83EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #16176F

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

Preview Lab → · Contrast checker → · Palette generator →

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