#171163#171163

#171163 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.135 H 274.7°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#171163
RGBrgb(23, 17, 99)
HSLhsl(244, 71%, 23%)
HSVhsv(244, 83%, 39%)
CMYKcmyk(76.8%, 82.8%, 0%, 61.2%)
CIE-LABlab(12.50, 31.66, -46.59)
CIE-LCHlch(12.50, 56.33, 304.20°)
OKLaboklab(25.96% 0.0111 -0.1347)
OKLCHoklch(25.96% 0.135 274.7)
XYZxyz(2.8052, 1.4836, 11.9405)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171163 #5D6311
analogous
#113463 #171163 #401163
triadic
#171163 #631711 #116317
tetradic
#171163 #631134 #5D6311 #116340
square
#171163 #631134 #5D6311 #116340
split-complementary
#171163 #634011 #346311
monochromatic
#06041A #0B082F #171163 #231A97 #2F23CB

Accessibility & contrast

On white

16.19
#171163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#171163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171163
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171163#FFFFFF#000000##FFFFFF
##1711631.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002465
Deuteranopia (green-blind)
#001D62
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #171163;
/* rgb */ color: rgb(23, 17, 99);
/* oklch */ color: oklch(26.0% 0.135 274.7);
Tailwind
colors: {
  custom: {
    50: '#625190',
    500: '#171163',
    950: '#000000',
  },
}
SCSS
$custom: #171163;
$custom-light: #625190;
$custom-dark: #000000;
JSON
{
  "hex": "#171163",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 244.39,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.25955,
    "c": 0.13519,
    "h": 274.7
  },
  "luminance": 0.01484
}

Semantic roles & 50–950 ramp

primary
#171163
secondary
#949B34
accent
#ED3AE0
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171163

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

Preview Lab → · Contrast checker → · Palette generator →

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