#171C44#171C44

#171C44 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.075 H 274.2°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#171C44
RGBrgb(23, 28, 68)
HSLhsl(233, 49%, 18%)
HSVhsv(233, 66%, 27%)
CMYKcmyk(66.2%, 58.8%, 0%, 73.3%)
CIE-LABlab(12.16, 12.20, -26.05)
CIE-LCHlch(12.16, 28.76, 295.11°)
OKLaboklab(24.74% 0.0055 -0.0746)
OKLCHoklch(24.74% 0.075 274.2)
XYZxyz(1.8117, 1.4299, 5.6482)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171C44 #443F17
analogous
#173244 #171C44 #281744
triadic
#171C44 #44171C #1C4417
tetradic
#171C44 #441732 #443F17 #174428
square
#171C44 #441732 #443F17 #174428
split-complementary
#171C44 #442817 #324417
monochromatic
#080917 #080917 #171C44 #262F72 #36429F

Accessibility & contrast

On white

16.33
#171C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#171C44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171C44
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171C44#FFFFFF#000000##FFFFFF
##171C441.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062245
Deuteranopia (green-blind)
#001E43
Tritanopia (blue-blind)
#00252C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #171c44;
/* rgb */ color: rgb(23, 28, 68);
/* oklch */ color: oklch(24.7% 0.075 274.2);
Tailwind
colors: {
  custom: {
    50: '#595778',
    500: '#171c44',
    950: '#000000',
  },
}
SCSS
$custom: #171c44;
$custom-light: #595778;
$custom-dark: #000000;
JSON
{
  "hex": "#171c44",
  "rgb": {
    "r": 23,
    "g": 28,
    "b": 68
  },
  "hsl": {
    "h": 233.333,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24743,
    "c": 0.07478,
    "h": 274.2
  },
  "luminance": 0.0143
}

Semantic roles & 50–950 ramp

primary
#171C44
secondary
#7B743C
accent
#CA4FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #171C44

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

Preview Lab → · Contrast checker → · Palette generator →

#171C44 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva