#17173E#17173E

#17173E is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.073 H 279.1°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#17173E
RGBrgb(23, 23, 62)
HSLhsl(240, 46%, 17%)
HSVhsv(240, 63%, 24%)
CMYKcmyk(62.9%, 62.9%, 0%, 75.7%)
CIE-LABlab(10.13, 13.60, -25.09)
CIE-LCHlch(10.13, 28.54, 298.46°)
OKLaboklab(23.07% 0.0115 -0.0718)
OKLCHoklch(23.07% 0.073 279.1)
XYZxyz(1.5290, 1.1427, 4.6965)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17173E #3E3E17
analogous
#172B3E #17173E #2B173E
triadic
#17173E #3E1717 #173E17
tetradic
#17173E #3E172B #3E3E17 #173E2B
square
#17173E #3E172B #3E3E17 #173E2B
split-complementary
#17173E #3E2B17 #2B3E17
monochromatic
#080816 #080816 #17173E #28286B #383897

Accessibility & contrast

On white

17.09
#17173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#17173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17173E
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17173E#FFFFFF#000000##FFFFFF
##17173E1.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011D3F
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#052027
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #17173e;
/* rgb */ color: rgb(23, 23, 62);
/* oklch */ color: oklch(23.1% 0.073 279.1);
Tailwind
colors: {
  custom: {
    50: '#585373',
    500: '#17173e',
    950: '#000000',
  },
}
SCSS
$custom: #17173e;
$custom-light: #585373;
$custom-dark: #000000;
JSON
{
  "hex": "#17173e",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 240,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23067,
    "c": 0.07274,
    "h": 279.1
  },
  "luminance": 0.01143
}

Semantic roles & 50–950 ramp

primary
#17173E
secondary
#75753C
accent
#D652D6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #17173E

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

Preview Lab → · Contrast checker → · Palette generator →

#17173E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva