#171335#171335

#171335 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.064 H 284.9°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#171335
RGBrgb(23, 19, 53)
HSLhsl(247, 47%, 14%)
HSVhsv(247, 64%, 21%)
CMYKcmyk(56.6%, 64.2%, 0%, 79.2%)
CIE-LABlab(8.17, 13.15, -21.78)
CIE-LCHlch(8.17, 25.44, 301.13°)
OKLaboklab(21.37% 0.0166 -0.0621)
OKLCHoklch(21.37% 0.064 284.9)
XYZxyz(1.2286, 0.9049, 3.4774)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171335 #313513
analogous
#132035 #171335 #281335
triadic
#171335 #351713 #133517
tetradic
#171335 #351320 #313513 #133528
square
#171335 #351320 #313513 #133528
split-complementary
#171335 #352813 #203513
monochromatic
#0A0817 #0A0817 #171335 #2B2362 #3E338F

Accessibility & contrast

On white

17.78
#171335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#171335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171335
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171335#FFFFFF#000000##FFFFFF
##1713351.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031936
Deuteranopia (green-blind)
#021734
Tritanopia (blue-blind)
#0D1B21
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #171335;
/* rgb */ color: rgb(23, 19, 53);
/* oklch */ color: oklch(21.4% 0.064 284.9);
Tailwind
colors: {
  custom: {
    50: '#57506c',
    500: '#171335',
    950: '#000000',
  },
}
SCSS
$custom: #171335;
$custom-light: #57506c;
$custom-dark: #000000;
JSON
{
  "hex": "#171335",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 247.059,
    "s": 47.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21374,
    "c": 0.06428,
    "h": 284.9
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#171335
secondary
#676D37
accent
#D751C7
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030207
muted
#78787A

Preview Lab

Preview with #171335

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

Preview Lab → · Contrast checker → · Palette generator →

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