#172B3F#172B3F

#172B3F is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.2% C 0.045 H 249.7°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#172B3F
RGBrgb(23, 43, 63)
HSLhsl(210, 47%, 17%)
HSVhsv(210, 63%, 25%)
CMYKcmyk(63.5%, 31.7%, 0%, 75.3%)
CIE-LABlab(16.84, -0.93, -15.14)
CIE-LCHlch(16.84, 15.16, 266.49°)
OKLaboklab(28.25% -0.0157 -0.0425)
OKLCHoklch(28.25% 0.045 249.7)
XYZxyz(2.1141, 2.2686, 5.0281)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B3F #3F2B17
analogous
#173F3F #172B3F #17173F
triadic
#172B3F #3F172B #2B3F17
tetradic
#172B3F #3F173F #3F2B17 #173F17
square
#172B3F #3F173F #3F2B17 #173F17
split-complementary
#172B3F #3F1717 #3F3F17
monochromatic
#080F16 #080F16 #172B3F #274A6C #386899

Accessibility & contrast

On white

14.44
#172B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#172B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B3F
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B3F#FFFFFF#000000##FFFFFF
##172B3F1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C40
Deuteranopia (green-blind)
#1D283F
Tritanopia (blue-blind)
#003032
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172b3f;
/* rgb */ color: rgb(23, 43, 63);
/* oklch */ color: oklch(28.2% 0.045 249.7);
Tailwind
colors: {
  custom: {
    50: '#586474',
    500: '#172b3f',
    950: '#000000',
  },
}
SCSS
$custom: #172b3f;
$custom-light: #586474;
$custom-dark: #000000;
JSON
{
  "hex": "#172b3f",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 63
  },
  "hsl": {
    "h": 210,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28246,
    "c": 0.04532,
    "h": 249.7
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#172B3F
secondary
#76593C
accent
#9452D6
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #172B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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