#172B48#172B48

#172B48 is a dark, muted blue. Relative luminance 0.024; OKLCH L 28.8% C 0.059 H 257.7°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#172B48
RGBrgb(23, 43, 72)
HSLhsl(216, 52%, 19%)
HSVhsv(216, 68%, 28%)
CMYKcmyk(68.1%, 40.3%, 0%, 71.8%)
CIE-LABlab(17.36, 2.64, -20.51)
CIE-LCHlch(17.36, 20.67, 277.33°)
OKLaboklab(28.82% -0.0127 -0.0581)
OKLCHoklch(28.82% 0.059 257.7)
XYZxyz(2.3865, 2.3776, 6.4628)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B48 #483417
analogous
#174348 #172B48 #1B1748
triadic
#172B48 #48172B #2B4817
tetradic
#172B48 #481743 #483417 #17481B
square
#172B48 #481743 #483417 #17481B
split-complementary
#172B48 #481B17 #434817
monochromatic
#070E17 #080F1A #172B48 #264776 #3562A5

Accessibility & contrast

On white

14.23
#172B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172B48
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B48#FFFFFF#000000##FFFFFF
##172B481.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172b48;
/* rgb */ color: rgb(23, 43, 72);
/* oklch */ color: oklch(28.8% 0.059 257.7);
Tailwind
colors: {
  custom: {
    50: '#59647b',
    500: '#172b48',
    950: '#000000',
  },
}
SCSS
$custom: #172b48;
$custom-light: #59647b;
$custom-dark: #000000;
JSON
{
  "hex": "#172b48",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 72
  },
  "hsl": {
    "h": 215.51,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2882,
    "c": 0.05949,
    "h": 257.7
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#172B48
secondary
#7F643C
accent
#A14DDB
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040509
muted
#79797B

Preview Lab

Preview with #172B48

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

Preview Lab → · Contrast checker → · Palette generator →

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