#170C59#170C59

#170C59 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.1% C 0.127 H 277.4°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#170C59
RGBrgb(23, 12, 89)
HSLhsl(249, 76%, 20%)
HSVhsv(249, 87%, 35%)
CMYKcmyk(74.2%, 86.5%, 0%, 65.1%)
CIE-LABlab(10.31, 30.97, -43.52)
CIE-LCHlch(10.31, 53.41, 305.44°)
OKLaboklab(24.06% 0.0164 -0.1257)
OKLCHoklch(24.06% 0.127 277.4)
XYZxyz(2.2874, 1.1662, 9.5538)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170C59 #4E590C
analogous
#0C2859 #170C59 #3D0C59
triadic
#170C59 #59170C #0C5917
tetradic
#170C59 #590C28 #4E590C #0C593D
square
#170C59 #590C28 #4E590C #0C593D
split-complementary
#170C59 #593D0C #28590C
monochromatic
#07041B #090523 #170C59 #25138F #331BC5

Accessibility & contrast

On white

17.03
#170C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#170C59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170C59
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170C59#FFFFFF#000000##FFFFFF
##170C591.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F5B
Deuteranopia (green-blind)
#001958
Tritanopia (blue-blind)
#002433
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #170c59;
/* rgb */ color: rgb(23, 12, 89);
/* oklch */ color: oklch(24.1% 0.127 277.4);
Tailwind
colors: {
  custom: {
    50: '#604d89',
    500: '#170c59',
    950: '#000000',
  },
}
SCSS
$custom: #170c59;
$custom-light: #604d89;
$custom-dark: #000000;
JSON
{
  "hex": "#170c59",
  "rgb": {
    "r": 23,
    "g": 12,
    "b": 89
  },
  "hsl": {
    "h": 248.571,
    "s": 76.238,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24059,
    "c": 0.12681,
    "h": 277.4
  },
  "luminance": 0.01166
}

Semantic roles & 50–950 ramp

primary
#170C59
secondary
#85942D
accent
#F335D8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05010C
muted
#79777D

Preview Lab

Preview with #170C59

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

Preview Lab → · Contrast checker → · Palette generator →

#170C59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva