#171076#171076

#171076 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.160 H 272.3°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#171076
RGBrgb(23, 16, 118)
HSLhsl(244, 76%, 26%)
HSVhsv(244, 86%, 46%)
CMYKcmyk(80.5%, 86.4%, 0%, 53.7%)
CIE-LABlab(14.74, 38.60, -55.32)
CIE-LCHlch(14.74, 67.45, 304.91°)
OKLaboklab(28.21% 0.0063 -0.16)
OKLCHoklch(28.21% 0.16 272.3)
XYZxyz(3.8076, 1.8603, 17.2944)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171076 #6F7610
analogous
#103C76 #171076 #4A1076
triadic
#171076 #761710 #107617
tetradic
#171076 #76103C #6F7610 #10764A
square
#171076 #76103C #6F7610 #10764A
split-complementary
#171076 #764A10 #3C7610
monochromatic
#05041B #0C0940 #171076 #2217AC #2D20E1

Accessibility & contrast

On white

15.30
#171076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#171076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171076
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171076#FFFFFF#000000##FFFFFF
##1710761.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A79
Deuteranopia (green-blind)
#002074
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171076;
/* rgb */ color: rgb(23, 16, 118);
/* oklch */ color: oklch(28.2% 0.160 272.3);
Tailwind
colors: {
  custom: {
    50: '#68529f',
    500: '#171076',
    950: '#000000',
  },
}
SCSS
$custom: #171076;
$custom-light: #68529f;
$custom-dark: #000000;
JSON
{
  "hex": "#171076",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 244.118,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28206,
    "c": 0.16016,
    "h": 272.3
  },
  "luminance": 0.01861
}

Semantic roles & 50–950 ramp

primary
#171076
secondary
#A5AD35
accent
#F335E6
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #171076

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

Preview Lab → · Contrast checker → · Palette generator →

#171076 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva