#172F45#172F45

#172F45 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.7% C 0.050 H 247.9°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#172F45
RGBrgb(23, 47, 69)
HSLhsl(209, 50%, 18%)
HSVhsv(209, 67%, 27%)
CMYKcmyk(66.7%, 31.9%, 0%, 72.9%)
CIE-LABlab(18.56, -1.39, -16.57)
CIE-LCHlch(18.56, 16.62, 265.19°)
OKLaboklab(29.71% -0.0189 -0.0466)
OKLCHoklch(29.71% 0.05 247.9)
XYZxyz(2.4437, 2.6446, 6.0108)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F45 #452D17
analogous
#174544 #172F45 #171845
triadic
#172F45 #45172F #2F4517
tetradic
#172F45 #441745 #452D17 #184517
square
#172F45 #441745 #452D17 #184517
split-complementary
#172F45 #451718 #454417
monochromatic
#081017 #081017 #172F45 #264E73 #366EA1

Accessibility & contrast

On white

13.73
#172F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#172F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F45
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F45#FFFFFF#000000##FFFFFF
##172F451.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263046
Deuteranopia (green-blind)
#1F2B45
Tritanopia (blue-blind)
#003437
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172f45;
/* rgb */ color: rgb(23, 47, 69);
/* oklch */ color: oklch(29.7% 0.050 247.9);
Tailwind
colors: {
  custom: {
    50: '#596778',
    500: '#172f45',
    950: '#000000',
  },
}
SCSS
$custom: #172f45;
$custom-light: #596778;
$custom-dark: #000000;
JSON
{
  "hex": "#172f45",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 69
  },
  "hsl": {
    "h": 208.696,
    "s": 50,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29707,
    "c": 0.0503,
    "h": 247.9
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#172F45
secondary
#7C5B3C
accent
#914EDA
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040609
muted
#797A7B

Preview Lab

Preview with #172F45

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

Preview Lab → · Contrast checker → · Palette generator →

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