#172F3B#172F3B

#172F3B is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.1% C 0.037 H 231.7°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#172F3B
RGBrgb(23, 47, 59)
HSLhsl(200, 44%, 16%)
HSVhsv(200, 61%, 23%)
CMYKcmyk(61%, 20.3%, 0%, 76.9%)
CIE-LABlab(18.06, -5.20, -10.49)
CIE-LCHlch(18.06, 11.70, 243.65°)
OKLaboklab(29.14% -0.023 -0.0292)
OKLCHoklch(29.14% 0.037 231.7)
XYZxyz(2.1590, 2.5308, 4.5115)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F3B #3B2317
analogous
#173B35 #172F3B #171D3B
triadic
#172F3B #3B172F #2F3B17
tetradic
#172F3B #35173B #3B2317 #1D3B17
square
#172F3B #35173B #3B2317 #1D3B17
split-complementary
#172F3B #3B171D #3B3517
monochromatic
#091216 #091216 #172F3B #285267 #397593

Accessibility & contrast

On white

13.94
#172F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#172F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F3B
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F3B#FFFFFF#000000##FFFFFF
##172F3B1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E3C
Deuteranopia (green-blind)
#242A3B
Tritanopia (blue-blind)
#023233
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172f3b;
/* rgb */ color: rgb(23, 47, 59);
/* oklch */ color: oklch(29.1% 0.037 231.7);
Tailwind
colors: {
  custom: {
    50: '#576771',
    500: '#172f3b',
    950: '#000000',
  },
}
SCSS
$custom: #172f3b;
$custom-light: #576771;
$custom-dark: #000000;
JSON
{
  "hex": "#172f3b",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 59
  },
  "hsl": {
    "h": 200,
    "s": 43.902,
    "l": 16.078
  },
  "oklch": {
    "l": 0.29143,
    "c": 0.03715,
    "h": 231.7
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#172F3B
secondary
#724E3C
accent
#7F54D4
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030607
muted
#787A7A

Preview Lab

Preview with #172F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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