#16176E#16176E

#16176E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.144 H 271.8°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#16176E
RGBrgb(22, 23, 110)
HSLhsl(239, 67%, 26%)
HSVhsv(239, 80%, 43%)
CMYKcmyk(80%, 79.1%, 0%, 56.9%)
CIE-LABlab(15.00, 31.94, -49.69)
CIE-LCHlch(15.00, 59.07, 302.73°)
OKLaboklab(28.08% 0.0045 -0.1439)
OKLCHoklch(28.08% 0.144 271.8)
XYZxyz(3.4508, 1.9088, 14.9354)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16176E #6E6D16
analogous
#16436E #16176E #41166E
triadic
#16176E #6E1617 #176E16
tetradic
#16176E #6E1643 #6E6D16 #166E41
square
#16176E #6E1643 #6E6D16 #166E41
split-complementary
#16176E #6E4116 #436E16
monochromatic
#05051A #0C0C3B #16176E #2022A1 #2A2CD4

Accessibility & contrast

On white

15.20
#16176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#16176E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16176E
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16176E#FFFFFF#000000##FFFFFF
##16176E1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00216C
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #16176e;
/* rgb */ color: rgb(22, 23, 110);
/* oklch */ color: oklch(28.1% 0.144 271.8);
Tailwind
colors: {
  custom: {
    50: '#655599',
    500: '#16176e',
    950: '#000000',
  },
}
SCSS
$custom: #16176e;
$custom-light: #655599;
$custom-dark: #000000;
JSON
{
  "hex": "#16176e",
  "rgb": {
    "r": 22,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 239.318,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28085,
    "c": 0.14393,
    "h": 271.8
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#16176E
secondary
#A4A33C
accent
#E83EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #16176E

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

Preview Lab → · Contrast checker → · Palette generator →

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