#171058#171058

#171058 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.5% C 0.121 H 276.9°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#171058
RGBrgb(23, 16, 88)
HSLhsl(246, 69%, 20%)
HSVhsv(246, 82%, 35%)
CMYKcmyk(73.9%, 81.8%, 0%, 65.5%)
CIE-LABlab(10.97, 28.35, -41.74)
CIE-LCHlch(10.97, 50.46, 304.19°)
OKLaboklab(24.49% 0.0145 -0.1206)
OKLCHoklch(24.49% 0.121 276.9)
XYZxyz(2.2995, 1.2571, 9.3521)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171058 #515810
analogous
#102D58 #171058 #3B1058
triadic
#171058 #581710 #105817
tetradic
#171058 #58102D #515810 #10583B
square
#171058 #58102D #515810 #10583B
split-complementary
#171058 #583B10 #2D5810
monochromatic
#07051A #090724 #171058 #25198C #3223C0

Accessibility & contrast

On white

16.78
#171058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171058
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171058#FFFFFF#000000##FFFFFF
##1710581.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205A
Deuteranopia (green-blind)
#001A57
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #171058;
/* rgb */ color: rgb(23, 16, 88);
/* oklch */ color: oklch(24.5% 0.121 276.9);
Tailwind
colors: {
  custom: {
    50: '#605088',
    500: '#171058',
    950: '#000000',
  },
}
SCSS
$custom: #171058;
$custom-light: #605088;
$custom-dark: #000000;
JSON
{
  "hex": "#171058",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 245.833,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24488,
    "c": 0.12149,
    "h": 276.9
  },
  "luminance": 0.01257
}

Semantic roles & 50–950 ramp

primary
#171058
secondary
#889132
accent
#EC3CDB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020B
muted
#7A787C

Preview Lab

Preview with #171058

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

Preview Lab → · Contrast checker → · Palette generator →

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