#16176C#16176C

#16176C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.141 H 272.0°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#16176C
RGBrgb(22, 23, 108)
HSLhsl(239, 66%, 25%)
HSVhsv(239, 80%, 42%)
CMYKcmyk(79.6%, 78.7%, 0%, 57.6%)
CIE-LABlab(14.77, 31.21, -48.78)
CIE-LCHlch(14.77, 57.91, 302.61°)
OKLaboklab(27.85% 0.0049 -0.1412)
OKLCHoklch(27.85% 0.141 272)
XYZxyz(3.3431, 1.8657, 14.3684)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16176C #6C6B16
analogous
#16426C #16176C #40166C
triadic
#16176C #6C1617 #176C16
tetradic
#16176C #6C1642 #6C6B16 #166C40
square
#16176C #6C1642 #6C6B16 #166C40
split-complementary
#16176C #6C4016 #426C16
monochromatic
#050519 #0C0C39 #16176C #20229F #2B2DD2

Accessibility & contrast

On white

15.29
#16176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#16176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16176C
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16176C#FFFFFF#000000##FFFFFF
##16176C1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #16176c;
/* rgb */ color: rgb(22, 23, 108);
/* oklch */ color: oklch(27.8% 0.141 272.0);
Tailwind
colors: {
  custom: {
    50: '#645597',
    500: '#16176c',
    950: '#000000',
  },
}
SCSS
$custom: #16176c;
$custom-light: #645597;
$custom-dark: #000000;
JSON
{
  "hex": "#16176c",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 239.302,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27849,
    "c": 0.14128,
    "h": 272
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#16176C
secondary
#A2A13C
accent
#E73FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #16176C

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

Preview Lab → · Contrast checker → · Palette generator →

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