#172F43#172F43

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

Color values

HEX#172F43
RGBrgb(23, 47, 67)
HSLhsl(207, 49%, 18%)
HSVhsv(207, 66%, 26%)
CMYKcmyk(65.7%, 29.9%, 0%, 73.7%)
CIE-LABlab(18.45, -2.17, -15.37)
CIE-LCHlch(18.45, 15.52, 261.94°)
OKLaboklab(29.59% -0.0197 -0.0431)
OKLCHoklch(29.59% 0.047 245.5)
XYZxyz(2.3826, 2.6202, 5.6893)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F43 #432B17
analogous
#174341 #172F43 #171943
triadic
#172F43 #43172F #2F4317
tetradic
#172F43 #411743 #432B17 #194317
square
#172F43 #411743 #432B17 #194317
split-complementary
#172F43 #431719 #434117
monochromatic
#081017 #081017 #172F43 #274F71 #366F9E

Accessibility & contrast

On white

13.78
#172F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172F43
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F43#FFFFFF#000000##FFFFFF
##172F431.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262F44
Deuteranopia (green-blind)
#202B43
Tritanopia (blue-blind)
#003436
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #172f43;
/* rgb */ color: rgb(23, 47, 67);
/* oklch */ color: oklch(29.6% 0.047 245.5);
Tailwind
colors: {
  custom: {
    50: '#596777',
    500: '#172f43',
    950: '#000000',
  },
}
SCSS
$custom: #172f43;
$custom-light: #596777;
$custom-dark: #000000;
JSON
{
  "hex": "#172f43",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 67
  },
  "hsl": {
    "h": 207.273,
    "s": 48.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29588,
    "c": 0.04742,
    "h": 245.5
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#172F43
secondary
#7A583C
accent
#8E4FD8
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040608
muted
#797A7B

Preview Lab

Preview with #172F43

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

Preview Lab → · Contrast checker → · Palette generator →

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