#171944#171944

#171944 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.080 H 276.6°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#171944
RGBrgb(23, 25, 68)
HSLhsl(237, 49%, 18%)
HSVhsv(237, 66%, 27%)
CMYKcmyk(66.2%, 63.2%, 0%, 73.3%)
CIE-LABlab(11.24, 14.47, -27.53)
CIE-LCHlch(11.24, 31.10, 297.73°)
OKLaboklab(24.06% 0.0092 -0.079)
OKLCHoklch(24.06% 0.08 276.6)
XYZxyz(1.7440, 1.2946, 5.6257)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171944 #444217
analogous
#172F44 #171944 #2B1744
triadic
#171944 #441719 #194417
tetradic
#171944 #44172F #444217 #17442B
square
#171944 #44172F #444217 #17442B
split-complementary
#171944 #442B17 #2F4417
monochromatic
#080817 #080817 #171944 #262A72 #363B9F

Accessibility & contrast

On white

16.68
#171944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#171944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171944
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171944#FFFFFF#000000##FFFFFF
##1719441.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002045
Deuteranopia (green-blind)
#001C43
Tritanopia (blue-blind)
#00232B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #171944;
/* rgb */ color: rgb(23, 25, 68);
/* oklch */ color: oklch(24.1% 0.080 276.6);
Tailwind
colors: {
  custom: {
    50: '#595578',
    500: '#171944',
    950: '#000000',
  },
}
SCSS
$custom: #171944;
$custom-light: #595578;
$custom-dark: #000000;
JSON
{
  "hex": "#171944",
  "rgb": {
    "r": 23,
    "g": 25,
    "b": 68
  },
  "hsl": {
    "h": 237.333,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24056,
    "c": 0.07951,
    "h": 276.6
  },
  "luminance": 0.01295
}

Semantic roles & 50–950 ramp

primary
#171944
secondary
#7B783C
accent
#D34FD9
background
#F5F4F7
surface
#E9E8ED
border
#C5C4C8
text
#040309
muted
#79787B

Preview Lab

Preview with #171944

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

Preview Lab → · Contrast checker → · Palette generator →

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