#171358#171358

#171358 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.118 H 276.1°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#171358
RGBrgb(23, 19, 88)
HSLhsl(243, 64%, 21%)
HSVhsv(243, 78%, 35%)
CMYKcmyk(73.9%, 78.4%, 0%, 65.5%)
CIE-LABlab(11.64, 26.48, -40.64)
CIE-LCHlch(11.64, 48.51, 303.08°)
OKLaboklab(24.96% 0.0126 -0.1174)
OKLCHoklch(24.96% 0.118 276.1)
XYZxyz(2.3471, 1.3523, 9.3680)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171358 #545813
analogous
#133158 #171358 #391358
triadic
#171358 #581713 #135817
tetradic
#171358 #581331 #545813 #135839
square
#171358 #581331 #545813 #135839
split-complementary
#171358 #583913 #315813
monochromatic
#070519 #0A0826 #171358 #241E8A #3129BD

Accessibility & contrast

On white

16.53
#171358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171358
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171358#FFFFFF#000000##FFFFFF
##1713581.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#001C57
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #171358;
/* rgb */ color: rgb(23, 19, 88);
/* oklch */ color: oklch(25.0% 0.118 276.1);
Tailwind
colors: {
  custom: {
    50: '#5f5188',
    500: '#171358',
    950: '#000000',
  },
}
SCSS
$custom: #171358;
$custom-light: #5f5188;
$custom-dark: #000000;
JSON
{
  "hex": "#171358",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 243.478,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24958,
    "c": 0.11812,
    "h": 276.1
  },
  "luminance": 0.01352
}

Semantic roles & 50–950 ramp

primary
#171358
secondary
#8B9037
accent
#E740DE
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #171358

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

Preview Lab → · Contrast checker → · Palette generator →

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