#172844#172844

#172844 is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.8% C 0.057 H 259.9°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#172844
RGBrgb(23, 40, 68)
HSLhsl(217, 49%, 18%)
HSVhsv(217, 66%, 27%)
CMYKcmyk(66.2%, 41.2%, 0%, 73.3%)
CIE-LABlab(16.09, 3.21, -19.76)
CIE-LCHlch(16.09, 20.02, 279.21°)
OKLaboklab(27.76% -0.0099 -0.056)
OKLCHoklch(27.76% 0.057 259.9)
XYZxyz(2.1552, 2.1169, 5.7628)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172844 #443317
analogous
#173E44 #172844 #1C1744
triadic
#172844 #441728 #284417
tetradic
#172844 #44173E #443317 #17441C
square
#172844 #44173E #443317 #17441C
split-complementary
#172844 #441C17 #3E4417
monochromatic
#080D17 #080D17 #172844 #264372 #365E9F

Accessibility & contrast

On white

14.75
#172844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#172844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172844
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172844#FFFFFF#000000##FFFFFF
##1728441.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2A45
Deuteranopia (green-blind)
#162643
Tritanopia (blue-blind)
#002E32
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #172844;
/* rgb */ color: rgb(23, 40, 68);
/* oklch */ color: oklch(27.8% 0.057 259.9);
Tailwind
colors: {
  custom: {
    50: '#596178',
    500: '#172844',
    950: '#000000',
  },
}
SCSS
$custom: #172844;
$custom-light: #596178;
$custom-dark: #000000;
JSON
{
  "hex": "#172844",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 68
  },
  "hsl": {
    "h": 217.333,
    "s": 49.451,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27755,
    "c": 0.05687,
    "h": 259.9
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#172844
secondary
#7B633C
accent
#A54FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040509
muted
#79797B

Preview Lab

Preview with #172844

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

Preview Lab → · Contrast checker → · Palette generator →

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