#172F50#172F50

#172F50 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.4% C 0.067 H 256.8°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#172F50
RGBrgb(23, 47, 80)
HSLhsl(215, 55%, 20%)
HSVhsv(215, 71%, 31%)
CMYKcmyk(71.2%, 41.3%, 0%, 68.6%)
CIE-LABlab(19.20, 3.02, -23.00)
CIE-LCHlch(19.20, 23.20, 277.47°)
OKLaboklab(30.42% -0.0153 -0.0654)
OKLCHoklch(30.42% 0.067 256.8)
XYZxyz(2.8173, 2.7941, 7.9787)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F50 #503817
analogous
#174B50 #172F50 #1B1750
triadic
#172F50 #50172F #2F5017
tetradic
#172F50 #50174B #503817 #17501B
square
#172F50 #50174B #503817 #17501B
split-complementary
#172F50 #501B17 #4B5017
monochromatic
#070E18 #091320 #172F50 #254B80 #3267AF

Accessibility & contrast

On white

13.47
#172F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#172F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F50
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F50#FFFFFF#000000##FFFFFF
##172F501.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203151
Deuteranopia (green-blind)
#182C4F
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #172f50;
/* rgb */ color: rgb(23, 47, 80);
/* oklch */ color: oklch(30.4% 0.067 256.8);
Tailwind
colors: {
  custom: {
    50: '#5b6781',
    500: '#172f50',
    950: '#000000',
  },
}
SCSS
$custom: #172f50;
$custom-light: #5b6781;
$custom-dark: #000000;
JSON
{
  "hex": "#172f50",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 80
  },
  "hsl": {
    "h": 214.737,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30417,
    "c": 0.06714,
    "h": 256.8
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#172F50
secondary
#87673C
accent
#A049DF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #172F50

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

Preview Lab → · Contrast checker → · Palette generator →

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