#171155#171155

#171155 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.3% C 0.116 H 277.2°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#171155
RGBrgb(23, 17, 85)
HSLhsl(245, 67%, 20%)
HSVhsv(245, 80%, 33%)
CMYKcmyk(72.9%, 80%, 0%, 66.7%)
CIE-LABlab(10.84, 26.65, -39.92)
CIE-LCHlch(10.84, 48.00, 303.73°)
OKLaboklab(24.29% 0.0146 -0.1153)
OKLCHoklch(24.29% 0.116 277.2)
XYZxyz(2.1930, 1.2387, 8.7161)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171155 #4F5511
analogous
#112D55 #171155 #391155
triadic
#171155 #551711 #115517
tetradic
#171155 #55112D #4F5511 #115539
square
#171155 #55112D #4F5511 #115539
split-complementary
#171155 #553911 #2D5511
monochromatic
#07051A #090722 #171155 #251B88 #3325BB

Accessibility & contrast

On white

16.83
#171155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#171155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171155
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171155#FFFFFF#000000##FFFFFF
##1711551.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002057
Deuteranopia (green-blind)
#001A54
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #171155;
/* rgb */ color: rgb(23, 17, 85);
/* oklch */ color: oklch(24.3% 0.116 277.2);
Tailwind
colors: {
  custom: {
    50: '#5f5086',
    500: '#171155',
    950: '#000000',
  },
}
SCSS
$custom: #171155;
$custom-light: #5f5086;
$custom-dark: #000000;
JSON
{
  "hex": "#171155",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 245.294,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.24291,
    "c": 0.11624,
    "h": 277.2
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#171155
secondary
#868E34
accent
#EA3EDA
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171155

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

Preview Lab → · Contrast checker → · Palette generator →

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