#171357#171357

#171357 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.8% C 0.117 H 276.3°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#171357
RGBrgb(23, 19, 87)
HSLhsl(244, 64%, 21%)
HSVhsv(244, 78%, 34%)
CMYKcmyk(73.6%, 78.2%, 0%, 65.9%)
CIE-LABlab(11.52, 26.11, -40.15)
CIE-LCHlch(11.52, 47.90, 303.04°)
OKLaboklab(24.84% 0.0128 -0.116)
OKLCHoklch(24.84% 0.117 276.3)
XYZxyz(2.3060, 1.3358, 9.1513)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171357 #535713
analogous
#133157 #171357 #391357
triadic
#171357 #571713 #135717
tetradic
#171357 #571331 #535713 #135739
square
#171357 #571331 #535713 #135739
split-complementary
#171357 #573913 #315713
monochromatic
#070519 #0A0825 #171357 #241E89 #3229BB

Accessibility & contrast

On white

16.57
#171357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#171357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171357
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171357#FFFFFF#000000##FFFFFF
##1713571.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001C56
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #171357;
/* rgb */ color: rgb(23, 19, 87);
/* oklch */ color: oklch(24.8% 0.117 276.3);
Tailwind
colors: {
  custom: {
    50: '#5f5187',
    500: '#171357',
    950: '#000000',
  },
}
SCSS
$custom: #171357;
$custom-light: #5f5187;
$custom-dark: #000000;
JSON
{
  "hex": "#171357",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 243.529,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24844,
    "c": 0.11673,
    "h": 276.3
  },
  "luminance": 0.01336
}

Semantic roles & 50–950 ramp

primary
#171357
secondary
#8A8F36
accent
#E741DD
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #171357

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

Preview Lab → · Contrast checker → · Palette generator →

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