#170C57#170C57

#170C57 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.8% C 0.124 H 277.9°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#170C57
RGBrgb(23, 12, 87)
HSLhsl(249, 76%, 19%)
HSVhsv(249, 86%, 34%)
CMYKcmyk(73.6%, 86.2%, 0%, 65.9%)
CIE-LABlab(10.05, 30.29, -42.58)
CIE-LCHlch(10.05, 52.26, 305.43°)
OKLaboklab(23.81% 0.0171 -0.123)
OKLCHoklch(23.81% 0.124 277.9)
XYZxyz(2.2046, 1.1330, 9.1175)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170C57 #4C570C
analogous
#0C2757 #170C57 #3D0C57
triadic
#170C57 #57170C #0C5717
tetradic
#170C57 #570C27 #4C570C #0C573D
square
#170C57 #570C27 #4C570C #0C573D
split-complementary
#170C57 #573D0C #27570C
monochromatic
#07041B #090521 #170C57 #25138D #331BC3

Accessibility & contrast

On white

17.12
#170C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170C57
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170C57#FFFFFF#000000##FFFFFF
##170C571.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E59
Deuteranopia (green-blind)
#001856
Tritanopia (blue-blind)
#002332
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #170c57;
/* rgb */ color: rgb(23, 12, 87);
/* oklch */ color: oklch(23.8% 0.124 277.9);
Tailwind
colors: {
  custom: {
    50: '#604d87',
    500: '#170c57',
    950: '#000000',
  },
}
SCSS
$custom: #170c57;
$custom-light: #604d87;
$custom-dark: #000000;
JSON
{
  "hex": "#170c57",
  "rgb": {
    "r": 23,
    "g": 12,
    "b": 87
  },
  "hsl": {
    "h": 248.8,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2381,
    "c": 0.12419,
    "h": 277.9
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#170C57
secondary
#83922D
accent
#F235D7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05010B
muted
#7A777C

Preview Lab

Preview with #170C57

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

Preview Lab → · Contrast checker → · Palette generator →

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