#173B5A#173B5A

#173B5A is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.2% C 0.068 H 247.4°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#173B5A
RGBrgb(23, 59, 90)
HSLhsl(208, 59%, 22%)
HSVhsv(208, 74%, 35%)
CMYKcmyk(74.4%, 34.4%, 0%, 64.7%)
CIE-LABlab(23.83, -1.28, -22.32)
CIE-LCHlch(23.83, 22.36, 266.72°)
OKLaboklab(34.24% -0.0263 -0.0632)
OKLCHoklch(34.24% 0.068 247.4)
XYZxyz(3.7621, 4.0479, 10.2539)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B5A #5A3617
analogous
#175A58 #173B5A #171A5A
triadic
#173B5A #5A173B #3B5A17
tetradic
#173B5A #58175A #5A3617 #1A5A17
square
#173B5A #58175A #5A3617 #1A5A17
split-complementary
#173B5A #5A171A #5A5817
monochromatic
#061018 #0B1B29 #173B5A #235B8B #307BBB

Accessibility & contrast

On white

11.60
#173B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#173B5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B5A
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B5A#FFFFFF#000000##FFFFFF
##173B5A1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5B
Deuteranopia (green-blind)
#243659
Tritanopia (blue-blind)
#004246
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173b5a;
/* rgb */ color: rgb(23, 59, 90);
/* oklch */ color: oklch(34.2% 0.068 247.4);
Tailwind
colors: {
  custom: {
    50: '#5d7089',
    500: '#173b5a',
    950: '#000000',
  },
}
SCSS
$custom: #173b5a;
$custom-light: #5d7089;
$custom-dark: #000000;
JSON
{
  "hex": "#173b5a",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 90
  },
  "hsl": {
    "h": 207.761,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34235,
    "c": 0.06844,
    "h": 247.4
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#173B5A
secondary
#91633C
accent
#8E45E2
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #173B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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