#172D48#172D48

#172D48 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.4% C 0.057 H 254.5°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#172D48
RGBrgb(23, 45, 72)
HSLhsl(213, 52%, 19%)
HSVhsv(213, 68%, 28%)
CMYKcmyk(68.1%, 37.5%, 0%, 71.8%)
CIE-LABlab(18.04, 1.20, -19.43)
CIE-LCHlch(18.04, 19.47, 273.54°)
OKLaboklab(29.35% -0.0152 -0.0549)
OKLCHoklch(29.35% 0.057 254.5)
XYZxyz(2.4610, 2.5266, 6.4876)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D48 #483217
analogous
#174548 #172D48 #191748
triadic
#172D48 #48172D #2D4817
tetradic
#172D48 #481745 #483217 #174819
square
#172D48 #481745 #483217 #174819
split-complementary
#172D48 #481917 #454817
monochromatic
#070E17 #08101A #172D48 #264A76 #3567A5

Accessibility & contrast

On white

13.95
#172D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#172D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172D48
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D48#FFFFFF#000000##FFFFFF
##172D481.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222F49
Deuteranopia (green-blind)
#1B2A47
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172d48;
/* rgb */ color: rgb(23, 45, 72);
/* oklch */ color: oklch(29.4% 0.057 254.5);
Tailwind
colors: {
  custom: {
    50: '#59657b',
    500: '#172d48',
    950: '#000000',
  },
}
SCSS
$custom: #172d48;
$custom-light: #59657b;
$custom-dark: #000000;
JSON
{
  "hex": "#172d48",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 72
  },
  "hsl": {
    "h": 213.061,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29353,
    "c": 0.05703,
    "h": 254.5
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#172D48
secondary
#7F613C
accent
#9B4DDB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040509
muted
#797A7B

Preview Lab

Preview with #172D48

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

Preview Lab → · Contrast checker → · Palette generator →

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