#171844#171844

#171844 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.081 H 277.3°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#171844
RGBrgb(23, 24, 68)
HSLhsl(239, 49%, 18%)
HSVhsv(239, 66%, 27%)
CMYKcmyk(66.2%, 64.7%, 0%, 73.3%)
CIE-LABlab(10.94, 15.22, -28.01)
CIE-LCHlch(10.94, 31.88, 298.52°)
OKLaboklab(23.84% 0.0103 -0.0804)
OKLCHoklch(23.84% 0.081 277.3)
XYZxyz(1.7230, 1.2527, 5.6187)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171844 #444317
analogous
#172E44 #171844 #2C1744
triadic
#171844 #441718 #184417
tetradic
#171844 #44172E #444317 #17442C
square
#171844 #44172E #444317 #17442C
split-complementary
#171844 #442C17 #2E4417
monochromatic
#080817 #080817 #171844 #262872 #36389F

Accessibility & contrast

On white

16.79
#171844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171844
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171844#FFFFFF#000000##FFFFFF
##1718441.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F45
Deuteranopia (green-blind)
#001B43
Tritanopia (blue-blind)
#00222B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #171844;
/* rgb */ color: rgb(23, 24, 68);
/* oklch */ color: oklch(23.8% 0.081 277.3);
Tailwind
colors: {
  custom: {
    50: '#5a5478',
    500: '#171844',
    950: '#000000',
  },
}
SCSS
$custom: #171844;
$custom-light: #5a5478;
$custom-dark: #000000;
JSON
{
  "hex": "#171844",
  "rgb": {
    "r": 23,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 238.667,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23835,
    "c": 0.08107,
    "h": 277.3
  },
  "luminance": 0.01253
}

Semantic roles & 50–950 ramp

primary
#171844
secondary
#7B7A3C
accent
#D64FD9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #171844

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

Preview Lab → · Contrast checker → · Palette generator →

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