#171174#171174

#171174 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.1% C 0.157 H 272.4°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#171174
RGBrgb(23, 17, 116)
HSLhsl(244, 74%, 26%)
HSVhsv(244, 85%, 45%)
CMYKcmyk(80.2%, 85.3%, 0%, 54.5%)
CIE-LABlab(14.64, 37.45, -54.18)
CIE-LCHlch(14.64, 65.86, 304.65°)
OKLaboklab(28.07% 0.0066 -0.1568)
OKLCHoklch(28.07% 0.157 272.4)
XYZxyz(3.7051, 1.8436, 16.6802)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171174 #6E7411
analogous
#113C74 #171174 #481174
triadic
#171174 #741711 #117417
tetradic
#171174 #74113C #6E7411 #117448
square
#171174 #74113C #6E7411 #117448
split-complementary
#171174 #744811 #3C7411
monochromatic
#05041B #0C093F #171174 #2219A9 #2C21DE

Accessibility & contrast

On white

15.34
#171174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171174
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171174#FFFFFF#000000##FFFFFF
##1711741.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A77
Deuteranopia (green-blind)
#002072
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171174;
/* rgb */ color: rgb(23, 17, 116);
/* oklch */ color: oklch(28.1% 0.157 272.4);
Tailwind
colors: {
  custom: {
    50: '#67529d',
    500: '#171174',
    950: '#000000',
  },
}
SCSS
$custom: #171174;
$custom-light: #67529d;
$custom-dark: #000000;
JSON
{
  "hex": "#171174",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 243.636,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28068,
    "c": 0.1569,
    "h": 272.4
  },
  "luminance": 0.01844
}

Semantic roles & 50–950 ramp

primary
#171174
secondary
#A4AB36
accent
#F137E6
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #171174

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

Preview Lab → · Contrast checker → · Palette generator →

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