#172E40#172E40

#172E40 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.1% C 0.044 H 243.7°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#172E40
RGBrgb(23, 46, 64)
HSLhsl(206, 47%, 17%)
HSVhsv(206, 64%, 25%)
CMYKcmyk(64.1%, 28.1%, 0%, 74.9%)
CIE-LABlab(17.95, -2.64, -14.10)
CIE-LCHlch(17.95, 14.35, 259.40°)
OKLaboklab(29.14% -0.0195 -0.0395)
OKLCHoklch(29.14% 0.044 243.7)
XYZxyz(2.2554, 2.5061, 5.2144)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E40 #402917
analogous
#17403E #172E40 #171A40
triadic
#172E40 #40172E #2E4017
tetradic
#172E40 #3E1740 #402917 #1A4017
square
#172E40 #3E1740 #402917 #1A4017
split-complementary
#172E40 #40171A #403E17
monochromatic
#081017 #081017 #172E40 #274E6D #376F9A

Accessibility & contrast

On white

13.99
#172E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#172E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E40
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E40#FFFFFF#000000##FFFFFF
##172E401.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262E41
Deuteranopia (green-blind)
#212A40
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172e40;
/* rgb */ color: rgb(23, 46, 64);
/* oklch */ color: oklch(29.1% 0.044 243.7);
Tailwind
colors: {
  custom: {
    50: '#586675',
    500: '#172e40',
    950: '#000000',
  },
}
SCSS
$custom: #172e40;
$custom-light: #586675;
$custom-dark: #000000;
JSON
{
  "hex": "#172e40",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 206.341,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29136,
    "c": 0.04405,
    "h": 243.7
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#172E40
secondary
#77563C
accent
#8C51D7
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #172E40

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

Preview Lab → · Contrast checker → · Palette generator →

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