#171658#171658

#171658 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.114 H 275.2°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#171658
RGBrgb(23, 22, 88)
HSLhsl(241, 60%, 22%)
HSVhsv(241, 75%, 35%)
CMYKcmyk(73.9%, 75%, 0%, 65.5%)
CIE-LABlab(12.35, 24.50, -39.46)
CIE-LCHlch(12.35, 46.45, 301.83°)
OKLaboklab(25.47% 0.0105 -0.114)
OKLCHoklch(25.47% 0.114 275.2)
XYZxyz(2.4011, 1.4603, 9.3860)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171658 #575816
analogous
#163658 #171658 #381658
triadic
#171658 #581716 #165817
tetradic
#171658 #581636 #575816 #165838
square
#171658 #581636 #575816 #165838
split-complementary
#171658 #583816 #365816
monochromatic
#060618 #0A0A27 #171658 #242289 #312EBA

Accessibility & contrast

On white

16.25
#171658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#171658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171658
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171658#FFFFFF#000000##FFFFFF
##1716581.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235A
Deuteranopia (green-blind)
#001D57
Tritanopia (blue-blind)
#002835
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #171658;
/* rgb */ color: rgb(23, 22, 88);
/* oklch */ color: oklch(25.5% 0.114 275.2);
Tailwind
colors: {
  custom: {
    50: '#5f5388',
    500: '#171658',
    950: '#000000',
  },
}
SCSS
$custom: #171658;
$custom-light: #5f5388;
$custom-dark: #000000;
JSON
{
  "hex": "#171658",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 240.909,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25472,
    "c": 0.11449,
    "h": 275.2
  },
  "luminance": 0.01461
}

Semantic roles & 50–950 ramp

primary
#171658
secondary
#8E8F3B
accent
#E345E1
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #171658

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

Preview Lab → · Contrast checker → · Palette generator →

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