#172944#172944

#172944 is a dark, muted blue. Relative luminance 0.022; OKLCH L 28.0% C 0.056 H 258.3°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#172944
RGBrgb(23, 41, 68)
HSLhsl(216, 49%, 18%)
HSVhsv(216, 66%, 27%)
CMYKcmyk(66.2%, 39.7%, 0%, 73.3%)
CIE-LABlab(16.43, 2.48, -19.23)
CIE-LCHlch(16.43, 19.38, 277.34°)
OKLaboklab(28.02% -0.0113 -0.0544)
OKLCHoklch(28.02% 0.056 258.3)
XYZxyz(2.1893, 2.1852, 5.7741)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172944 #443217
analogous
#173F44 #172944 #1B1744
triadic
#172944 #441729 #294417
tetradic
#172944 #44173F #443217 #17441B
square
#172944 #44173F #443217 #17441B
split-complementary
#172944 #441B17 #3F4417
monochromatic
#080E17 #080E17 #172944 #264572 #36609F

Accessibility & contrast

On white

14.61
#172944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#172944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172944
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172944#FFFFFF#000000##FFFFFF
##1729441.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2B45
Deuteranopia (green-blind)
#182743
Tritanopia (blue-blind)
#002F33
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172944;
/* rgb */ color: rgb(23, 41, 68);
/* oklch */ color: oklch(28.0% 0.056 258.3);
Tailwind
colors: {
  custom: {
    50: '#596278',
    500: '#172944',
    950: '#000000',
  },
}
SCSS
$custom: #172944;
$custom-light: #596278;
$custom-dark: #000000;
JSON
{
  "hex": "#172944",
  "rgb": {
    "r": 23,
    "g": 41,
    "b": 68
  },
  "hsl": {
    "h": 216,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28021,
    "c": 0.05556,
    "h": 258.3
  },
  "luminance": 0.02185
}

Semantic roles & 50–950 ramp

primary
#172944
secondary
#7B623C
accent
#A24FD9
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040509
muted
#79797B

Preview Lab

Preview with #172944

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

Preview Lab → · Contrast checker → · Palette generator →

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