#172E47#172E47

#172E47 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.6% C 0.054 H 251.9°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#172E47
RGBrgb(23, 46, 71)
HSLhsl(211, 51%, 18%)
HSVhsv(211, 68%, 28%)
CMYKcmyk(67.6%, 35.2%, 0%, 72.2%)
CIE-LABlab(18.32, 0.09, -18.30)
CIE-LCHlch(18.32, 18.30, 270.30°)
OKLaboklab(29.56% -0.0169 -0.0516)
OKLCHoklch(29.56% 0.054 251.9)
XYZxyz(2.4673, 2.5909, 6.3301)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E47 #473017
analogous
#174647 #172E47 #181747
triadic
#172E47 #47172E #2E4717
tetradic
#172E47 #471746 #473017 #174718
square
#172E47 #471746 #473017 #174718
split-complementary
#172E47 #471817 #464717
monochromatic
#070F17 #081019 #172E47 #264C75 #356AA3

Accessibility & contrast

On white

13.83
#172E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172E47
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E47#FFFFFF#000000##FFFFFF
##172E471.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232F48
Deuteranopia (green-blind)
#1D2B46
Tritanopia (blue-blind)
#003437
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172e47;
/* rgb */ color: rgb(23, 46, 71);
/* oklch */ color: oklch(29.6% 0.054 251.9);
Tailwind
colors: {
  custom: {
    50: '#59667a',
    500: '#172e47',
    950: '#000000',
  },
}
SCSS
$custom: #172e47;
$custom-light: #59667a;
$custom-dark: #000000;
JSON
{
  "hex": "#172e47",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 71
  },
  "hsl": {
    "h": 211.25,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29559,
    "c": 0.05434,
    "h": 251.9
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#172E47
secondary
#7E5E3C
accent
#974DDB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040509
muted
#797A7B

Preview Lab

Preview with #172E47

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

Preview Lab → · Contrast checker → · Palette generator →

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