#172B49#172B49

#172B49 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 28.9% C 0.061 H 258.3°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#172B49
RGBrgb(23, 43, 73)
HSLhsl(216, 52%, 19%)
HSVhsv(216, 68%, 29%)
CMYKcmyk(68.5%, 41.1%, 0%, 71.4%)
CIE-LABlab(17.42, 3.04, -21.09)
CIE-LCHlch(17.42, 21.31, 278.21°)
OKLaboklab(28.89% -0.0124 -0.0598)
OKLCHoklch(28.89% 0.061 258.3)
XYZxyz(2.4194, 2.3907, 6.6360)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B49 #493517
analogous
#174449 #172B49 #1C1749
triadic
#172B49 #49172B #2B4917
tetradic
#172B49 #491744 #493517 #17491C
square
#172B49 #491744 #493517 #17491C
split-complementary
#172B49 #491C17 #444917
monochromatic
#070E17 #08101A #172B49 #264678 #3462A6

Accessibility & contrast

On white

14.21
#172B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#172B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B49
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B49#FFFFFF#000000##FFFFFF
##172B491.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2D4A
Deuteranopia (green-blind)
#172948
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172b49;
/* rgb */ color: rgb(23, 43, 73);
/* oklch */ color: oklch(28.9% 0.061 258.3);
Tailwind
colors: {
  custom: {
    50: '#5a647c',
    500: '#172b49',
    950: '#000000',
  },
}
SCSS
$custom: #172b49;
$custom-light: #5a647c;
$custom-dark: #000000;
JSON
{
  "hex": "#172b49",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 73
  },
  "hsl": {
    "h": 216,
    "s": 52.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28888,
    "c": 0.0611,
    "h": 258.3
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#172B49
secondary
#80653C
accent
#A24CDC
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #172B49

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

Preview Lab → · Contrast checker → · Palette generator →

#172B49 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva