#172F48#172F48

#172F48 is a dark, muted cyan. Relative luminance 0.027; OKLCH L 29.9% C 0.055 H 251.0°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#172F48
RGBrgb(23, 47, 72)
HSLhsl(211, 52%, 19%)
HSVhsv(211, 68%, 28%)
CMYKcmyk(68.1%, 34.7%, 0%, 71.8%)
CIE-LABlab(18.73, -0.21, -18.35)
CIE-LCHlch(18.73, 18.35, 269.34°)
OKLaboklab(29.89% -0.0178 -0.0518)
OKLCHoklch(29.89% 0.055 251)
XYZxyz(2.5391, 2.6828, 6.5137)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F48 #483017
analogous
#174748 #172F48 #171748
triadic
#172F48 #48172F #2F4817
tetradic
#172F48 #481747 #483017 #174817
square
#172F48 #481747 #483017 #174817
split-complementary
#172F48 #481717 #474817
monochromatic
#070F17 #08111A #172F48 #264D76 #356CA5

Accessibility & contrast

On white

13.67
#172F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#172F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F48
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F48#FFFFFF#000000##FFFFFF
##172F481.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243049
Deuteranopia (green-blind)
#1E2B48
Tritanopia (blue-blind)
#003538
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #172f48;
/* rgb */ color: rgb(23, 47, 72);
/* oklch */ color: oklch(29.9% 0.055 251.0);
Tailwind
colors: {
  custom: {
    50: '#59677b',
    500: '#172f48',
    950: '#000000',
  },
}
SCSS
$custom: #172f48;
$custom-light: #59677b;
$custom-dark: #000000;
JSON
{
  "hex": "#172f48",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 72
  },
  "hsl": {
    "h": 210.612,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29892,
    "c": 0.05476,
    "h": 251
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#172F48
secondary
#7F5E3C
accent
#954DDB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040609
muted
#797A7B

Preview Lab

Preview with #172F48

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

Preview Lab → · Contrast checker → · Palette generator →

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