#172F42#172F42

#172F42 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.5% C 0.046 H 244.2°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#172F42
RGBrgb(23, 47, 66)
HSLhsl(207, 48%, 17%)
HSVhsv(207, 65%, 26%)
CMYKcmyk(65.2%, 28.8%, 0%, 74.1%)
CIE-LABlab(18.40, -2.56, -14.77)
CIE-LCHlch(18.40, 14.99, 260.16°)
OKLaboklab(29.53% -0.0201 -0.0414)
OKLCHoklch(29.53% 0.046 244.2)
XYZxyz(2.3529, 2.6083, 5.5327)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F42 #422A17
analogous
#174240 #172F42 #171942
triadic
#172F42 #42172F #2F4217
tetradic
#172F42 #401742 #422A17 #194217
square
#172F42 #401742 #422A17 #194217
split-complementary
#172F42 #421719 #424017
monochromatic
#081017 #081017 #172F42 #274F6F #37709D

Accessibility & contrast

On white

13.80
#172F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#172F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F42
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F42#FFFFFF#000000##FFFFFF
##172F421.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F43
Deuteranopia (green-blind)
#212B42
Tritanopia (blue-blind)
#003436
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172f42;
/* rgb */ color: rgb(23, 47, 66);
/* oklch */ color: oklch(29.5% 0.046 244.2);
Tailwind
colors: {
  custom: {
    50: '#586776',
    500: '#172f42',
    950: '#000000',
  },
}
SCSS
$custom: #172f42;
$custom-light: #586776;
$custom-dark: #000000;
JSON
{
  "hex": "#172f42",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 206.512,
    "s": 48.315,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2953,
    "c": 0.04601,
    "h": 244.2
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#172F42
secondary
#79573C
accent
#8C50D8
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #172F42

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

Preview Lab → · Contrast checker → · Palette generator →

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