#172A3E#172A3E

#172A3E is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.9% C 0.045 H 250.9°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#172A3E
RGBrgb(23, 42, 62)
HSLhsl(211, 46%, 17%)
HSVhsv(211, 63%, 24%)
CMYKcmyk(62.9%, 32.3%, 0%, 75.7%)
CIE-LABlab(16.43, -0.61, -15.08)
CIE-LCHlch(16.43, 15.09, 267.69°)
OKLaboklab(27.91% -0.0147 -0.0423)
OKLCHoklch(27.91% 0.045 250.9)
XYZxyz(2.0505, 2.1857, 4.8703)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172A3E #3E2B17
analogous
#173E3E #172A3E #18173E
triadic
#172A3E #3E172A #2A3E17
tetradic
#172A3E #3E173E #3E2B17 #173E18
square
#172A3E #3E173E #3E2B17 #173E18
split-complementary
#172A3E #3E1817 #3E3E17
monochromatic
#080F16 #080F16 #172A3E #28486B #386697

Accessibility & contrast

On white

14.61
#172A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#172A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172A3E
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172A3E#FFFFFF#000000##FFFFFF
##172A3E1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B3F
Deuteranopia (green-blind)
#1D273E
Tritanopia (blue-blind)
#012F31
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #172a3e;
/* rgb */ color: rgb(23, 42, 62);
/* oklch */ color: oklch(27.9% 0.045 250.9);
Tailwind
colors: {
  custom: {
    50: '#586373',
    500: '#172a3e',
    950: '#000000',
  },
}
SCSS
$custom: #172a3e;
$custom-light: #586373;
$custom-dark: #000000;
JSON
{
  "hex": "#172a3e",
  "rgb": {
    "r": 23,
    "g": 42,
    "b": 62
  },
  "hsl": {
    "h": 210.769,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2791,
    "c": 0.04482,
    "h": 250.9
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#172A3E
secondary
#75593C
accent
#9652D6
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #172A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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