#171375#171375

#171375 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.156 H 272.1°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#171375
RGBrgb(23, 19, 117)
HSLhsl(242, 72%, 27%)
HSVhsv(242, 84%, 46%)
CMYKcmyk(80.3%, 83.8%, 0%, 54.1%)
CIE-LABlab(15.13, 36.75, -54.03)
CIE-LCHlch(15.13, 65.34, 304.22°)
OKLaboklab(28.44% 0.0057 -0.1564)
OKLCHoklch(28.44% 0.156 272.1)
XYZxyz(3.7960, 1.9318, 16.9990)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171375 #717513
analogous
#134075 #171375 #481375
triadic
#171375 #751713 #137517
tetradic
#171375 #751340 #717513 #137548
square
#171375 #751340 #717513 #137548
split-complementary
#171375 #754813 #407513
monochromatic
#05041A #0D0A40 #171375 #211CAA #2E27DC

Accessibility & contrast

On white

15.15
#171375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#171375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171375
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171375#FFFFFF#000000##FFFFFF
##1713751.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002173
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #171375;
/* rgb */ color: rgb(23, 19, 117);
/* oklch */ color: oklch(28.4% 0.156 272.1);
Tailwind
colors: {
  custom: {
    50: '#67539e',
    500: '#171375',
    950: '#000000',
  },
}
SCSS
$custom: #171375;
$custom-light: #67539e;
$custom-dark: #000000;
JSON
{
  "hex": "#171375",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 242.449,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28439,
    "c": 0.15646,
    "h": 272.1
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#171375
secondary
#A7AB38
accent
#EF39E7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171375

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

Preview Lab → · Contrast checker → · Palette generator →

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