#173D5B#173D5B

#173D5B is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 34.8% C 0.068 H 245.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#173D5B
RGBrgb(23, 61, 91)
HSLhsl(206, 60%, 22%)
HSVhsv(206, 75%, 36%)
CMYKcmyk(74.7%, 33%, 0%, 64.3%)
CIE-LABlab(24.56, -2.23, -21.83)
CIE-LCHlch(24.56, 21.94, 264.18°)
OKLaboklab(34.83% -0.0282 -0.0617)
OKLCHoklch(34.83% 0.068 245.4)
XYZxyz(3.9097, 4.2746, 10.5145)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D5B #5B3517
analogous
#175B57 #173D5B #171B5B
triadic
#173D5B #5B173D #3D5B17
tetradic
#173D5B #57175B #5B3517 #1B5B17
square
#173D5B #57175B #5B3517 #1B5B17
split-complementary
#173D5B #5B171B #5B5717
monochromatic
#061018 #0B1C2A #173D5B #235E8C #307EBD

Accessibility & contrast

On white

11.32
#173D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#173D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D5B
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D5B#FFFFFF#000000##FFFFFF
##173D5B1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5C
Deuteranopia (green-blind)
#26375A
Tritanopia (blue-blind)
#004448
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173d5b;
/* rgb */ color: rgb(23, 61, 91);
/* oklch */ color: oklch(34.8% 0.068 245.4);
Tailwind
colors: {
  custom: {
    50: '#5e7289',
    500: '#173d5b',
    950: '#000000',
  },
}
SCSS
$custom: #173d5b;
$custom-light: #5e7289;
$custom-dark: #000000;
JSON
{
  "hex": "#173d5b",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 91
  },
  "hsl": {
    "h": 206.471,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34828,
    "c": 0.06788,
    "h": 245.4
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#173D5B
secondary
#92623C
accent
#8B45E3
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #173D5B

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

Preview Lab → · Contrast checker → · Palette generator →

#173D5B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva