#171653#171653

#171653 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.107 H 276.0°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#171653
RGBrgb(23, 22, 83)
HSLhsl(241, 58%, 21%)
HSVhsv(241, 73%, 33%)
CMYKcmyk(72.3%, 73.5%, 0%, 67.5%)
CIE-LABlab(11.83, 22.58, -36.94)
CIE-LCHlch(11.83, 43.29, 301.44°)
OKLaboklab(24.93% 0.0112 -0.1066)
OKLCHoklch(24.93% 0.107 276)
XYZxyz(2.2011, 1.3803, 8.3324)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171653 #525316
analogous
#163353 #171653 #351653
triadic
#171653 #531716 #165317
tetradic
#171653 #531633 #525316 #165335
square
#171653 #531633 #525316 #165335
split-complementary
#171653 #533516 #335316
monochromatic
#070618 #0A0923 #171653 #242383 #3230B4

Accessibility & contrast

On white

16.46
#171653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#171653 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171653
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171653#FFFFFF#000000##FFFFFF
##1716531.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#001C52
Tritanopia (blue-blind)
#002632
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #171653;
/* rgb */ color: rgb(23, 22, 83);
/* oklch */ color: oklch(24.9% 0.107 276.0);
Tailwind
colors: {
  custom: {
    50: '#5e5384',
    500: '#171653',
    950: '#000000',
  },
}
SCSS
$custom: #171653;
$custom-light: #5e5384;
$custom-dark: #000000;
JSON
{
  "hex": "#171653",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 83
  },
  "hsl": {
    "h": 240.984,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2493,
    "c": 0.10721,
    "h": 276
  },
  "luminance": 0.01381
}

Semantic roles & 50–950 ramp

primary
#171653
secondary
#898A3A
accent
#E146DF
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171653

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

Preview Lab → · Contrast checker → · Palette generator →

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