#172E3F#172E3F

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

Color values

HEX#172E3F
RGBrgb(23, 46, 63)
HSLhsl(206, 47%, 17%)
HSVhsv(206, 63%, 25%)
CMYKcmyk(63.5%, 27%, 0%, 75.3%)
CIE-LABlab(17.90, -3.02, -13.49)
CIE-LCHlch(17.90, 13.83, 257.38°)
OKLaboklab(29.08% -0.0199 -0.0377)
OKLCHoklch(29.08% 0.043 242.2)
XYZxyz(2.2272, 2.4948, 5.0658)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E3F #3F2817
analogous
#173F3C #172E3F #171A3F
triadic
#172E3F #3F172E #2E3F17
tetradic
#172E3F #3C173F #3F2817 #1A3F17
square
#172E3F #3C173F #3F2817 #1A3F17
split-complementary
#172E3F #3F171A #3F3C17
monochromatic
#081016 #081016 #172E3F #274F6C #386F99

Accessibility & contrast

On white

14.01
#172E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172E3F
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E3F#FFFFFF#000000##FFFFFF
##172E3F1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272E40
Deuteranopia (green-blind)
#212A3F
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172e3f;
/* rgb */ color: rgb(23, 46, 63);
/* oklch */ color: oklch(29.1% 0.043 242.2);
Tailwind
colors: {
  custom: {
    50: '#586674',
    500: '#172e3f',
    950: '#000000',
  },
}
SCSS
$custom: #172e3f;
$custom-light: #586674;
$custom-dark: #000000;
JSON
{
  "hex": "#172e3f",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 63
  },
  "hsl": {
    "h": 205.5,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29079,
    "c": 0.04267,
    "h": 242.2
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#172E3F
secondary
#76553C
accent
#8A52D6
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #172E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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