#172B43#172B43

#172B43 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.5% C 0.052 H 253.9°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#172B43
RGBrgb(23, 43, 67)
HSLhsl(213, 49%, 18%)
HSVhsv(213, 66%, 26%)
CMYKcmyk(65.7%, 35.8%, 0%, 73.7%)
CIE-LABlab(17.06, 0.64, -17.55)
CIE-LCHlch(17.06, 17.56, 272.08°)
OKLaboklab(28.49% -0.0143 -0.0495)
OKLCHoklch(28.49% 0.052 253.9)
XYZxyz(2.2300, 2.3150, 5.6384)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B43 #432F17
analogous
#174143 #172B43 #191743
triadic
#172B43 #43172B #2B4317
tetradic
#172B43 #431741 #432F17 #174319
square
#172B43 #431741 #432F17 #174319
split-complementary
#172B43 #431917 #414317
monochromatic
#080F17 #080F17 #172B43 #274871 #36659E

Accessibility & contrast

On white

14.35
#172B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#172B43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B43
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B43#FFFFFF#000000##FFFFFF
##172B431.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C44
Deuteranopia (green-blind)
#1B2843
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172b43;
/* rgb */ color: rgb(23, 43, 67);
/* oklch */ color: oklch(28.5% 0.052 253.9);
Tailwind
colors: {
  custom: {
    50: '#586477',
    500: '#172b43',
    950: '#000000',
  },
}
SCSS
$custom: #172b43;
$custom-light: #586477;
$custom-dark: #000000;
JSON
{
  "hex": "#172b43",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 67
  },
  "hsl": {
    "h": 212.727,
    "s": 48.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28493,
    "c": 0.05151,
    "h": 253.9
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#172B43
secondary
#7A5E3C
accent
#9A4FD8
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040508
muted
#79797B

Preview Lab

Preview with #172B43

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

Preview Lab → · Contrast checker → · Palette generator →

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