#172E42#172E42

#172E42 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.3% C 0.047 H 246.5°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#172E42
RGBrgb(23, 46, 66)
HSLhsl(208, 48%, 17%)
HSVhsv(208, 65%, 26%)
CMYKcmyk(65.2%, 30.3%, 0%, 74.1%)
CIE-LABlab(18.05, -1.87, -15.31)
CIE-LCHlch(18.05, 15.42, 263.04°)
OKLaboklab(29.25% -0.0187 -0.043)
OKLCHoklch(29.25% 0.047 246.5)
XYZxyz(2.3134, 2.5293, 5.5195)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E42 #422B17
analogous
#174241 #172E42 #171842
triadic
#172E42 #42172E #2E4217
tetradic
#172E42 #411742 #422B17 #184217
square
#172E42 #411742 #422B17 #184217
split-complementary
#172E42 #421718 #424117
monochromatic
#081017 #081017 #172E42 #274E6F #376D9D

Accessibility & contrast

On white

13.95
#172E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#172E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172E42
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E42#FFFFFF#000000##FFFFFF
##172E421.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252E43
Deuteranopia (green-blind)
#202A42
Tritanopia (blue-blind)
#003335
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172e42;
/* rgb */ color: rgb(23, 46, 66);
/* oklch */ color: oklch(29.3% 0.047 246.5);
Tailwind
colors: {
  custom: {
    50: '#586676',
    500: '#172e42',
    950: '#000000',
  },
}
SCSS
$custom: #172e42;
$custom-light: #586676;
$custom-dark: #000000;
JSON
{
  "hex": "#172e42",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 66
  },
  "hsl": {
    "h": 207.907,
    "s": 48.315,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29253,
    "c": 0.04688,
    "h": 246.5
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#172E42
secondary
#79583C
accent
#8F50D8
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #172E42

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

Preview Lab → · Contrast checker → · Palette generator →

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