#172D42#172D42

#172D42 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.0% C 0.048 H 248.7°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#172D42
RGBrgb(23, 45, 66)
HSLhsl(209, 48%, 17%)
HSVhsv(209, 65%, 26%)
CMYKcmyk(65.2%, 31.8%, 0%, 74.1%)
CIE-LABlab(17.70, -1.17, -15.86)
CIE-LCHlch(17.70, 15.90, 265.77°)
OKLaboklab(28.98% -0.0173 -0.0446)
OKLCHoklch(28.98% 0.048 248.7)
XYZxyz(2.2747, 2.4521, 5.5066)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D42 #422C17
analogous
#174242 #172D42 #171842
triadic
#172D42 #42172D #2D4217
tetradic
#172D42 #421742 #422C17 #184217
square
#172D42 #421742 #422C17 #184217
split-complementary
#172D42 #421718 #424217
monochromatic
#080F17 #080F17 #172D42 #274C6F #376B9D

Accessibility & contrast

On white

14.09
#172D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#172D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172D42
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D42#FFFFFF#000000##FFFFFF
##172D421.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242E43
Deuteranopia (green-blind)
#1E2942
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172d42;
/* rgb */ color: rgb(23, 45, 66);
/* oklch */ color: oklch(29.0% 0.048 248.7);
Tailwind
colors: {
  custom: {
    50: '#586576',
    500: '#172d42',
    950: '#000000',
  },
}
SCSS
$custom: #172d42;
$custom-light: #586576;
$custom-dark: #000000;
JSON
{
  "hex": "#172d42",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 66
  },
  "hsl": {
    "h": 209.302,
    "s": 48.315,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28977,
    "c": 0.04783,
    "h": 248.7
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#172D42
secondary
#795A3C
accent
#9250D8
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #172D42

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

Preview Lab → · Contrast checker → · Palette generator →

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