#171175#171175

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

Color values

HEX#171175
RGBrgb(23, 17, 117)
HSLhsl(244, 75%, 26%)
HSVhsv(244, 85%, 46%)
CMYKcmyk(80.3%, 85.5%, 0%, 54.1%)
CIE-LABlab(14.77, 37.78, -54.61)
CIE-LCHlch(14.77, 66.41, 304.67°)
OKLaboklab(28.19% 0.0063 -0.158)
OKLCHoklch(28.19% 0.158 272.3)
XYZxyz(3.7636, 1.8670, 16.9882)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171175 #6F7511
analogous
#113D75 #171175 #491175
triadic
#171175 #751711 #117517
tetradic
#171175 #75113D #6F7511 #117549
square
#171175 #75113D #6F7511 #117549
split-complementary
#171175 #754911 #3D7511
monochromatic
#05041B #0C0940 #171175 #2219AA #2D22DF

Accessibility & contrast

On white

15.29
#171175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##171175#FFFFFF#000000##FFFFFF
##1711751.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)
#002A78
Deuteranopia (green-blind)
#002073
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171175;
/* rgb */ color: rgb(23, 17, 117);
/* oklch */ color: oklch(28.2% 0.158 272.3);
Tailwind
colors: {
  custom: {
    50: '#67529e',
    500: '#171175',
    950: '#000000',
  },
}
SCSS
$custom: #171175;
$custom-light: #67529e;
$custom-dark: #000000;
JSON
{
  "hex": "#171175",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 243.6,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28194,
    "c": 0.15814,
    "h": 272.3
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #171175

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

Preview Lab → · Contrast checker → · Palette generator →

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