#172E39#172E39

#172E39 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.8% C 0.035 H 230.4°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#172E39
RGBrgb(23, 46, 57)
HSLhsl(199, 43%, 16%)
HSVhsv(199, 60%, 22%)
CMYKcmyk(59.6%, 19.3%, 0%, 77.6%)
CIE-LABlab(17.61, -5.25, -9.80)
CIE-LCHlch(17.61, 11.12, 241.81°)
OKLaboklab(28.75% -0.0225 -0.0272)
OKLCHoklch(28.75% 0.035 230.4)
XYZxyz(2.0686, 2.4314, 4.2304)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E39 #392217
analogous
#173933 #172E39 #171D39
triadic
#172E39 #39172E #2E3917
tetradic
#172E39 #331739 #392217 #1D3917
square
#172E39 #331739 #392217 #1D3917
split-complementary
#172E39 #39171D #393317
monochromatic
#091216 #091216 #172E39 #295165 #3A7490

Accessibility & contrast

On white

14.13
#172E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172E39
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E39#FFFFFF#000000##FFFFFF
##172E391.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282D3A
Deuteranopia (green-blind)
#242A39
Tritanopia (blue-blind)
#043132
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172e39;
/* rgb */ color: rgb(23, 46, 57);
/* oklch */ color: oklch(28.8% 0.035 230.4);
Tailwind
colors: {
  custom: {
    50: '#57666f',
    500: '#172e39',
    950: '#000000',
  },
}
SCSS
$custom: #172e39;
$custom-light: #57666f;
$custom-dark: #000000;
JSON
{
  "hex": "#172e39",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 57
  },
  "hsl": {
    "h": 199.412,
    "s": 42.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.28754,
    "c": 0.03531,
    "h": 230.4
  },
  "luminance": 0.02432
}

Semantic roles & 50–950 ramp

primary
#172E39
secondary
#6F4D3C
accent
#7E56D2
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030607
muted
#787A7A

Preview Lab

Preview with #172E39

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

Preview Lab → · Contrast checker → · Palette generator →

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