#173A5D#173A5D

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

Color values

HEX#173A5D
RGBrgb(23, 58, 93)
HSLhsl(210, 60%, 23%)
HSVhsv(210, 75%, 36%)
CMYKcmyk(75.3%, 37.6%, 0%, 63.5%)
CIE-LABlab(23.67, 0.62, -24.54)
CIE-LCHlch(23.67, 24.55, 271.44°)
OKLaboklab(34.16% -0.0242 -0.0697)
OKLCHoklch(34.16% 0.074 250.9)
XYZxyz(3.8415, 3.9982, 10.9231)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A5D #5D3A17
analogous
#175D5D #173A5D #17175D
triadic
#173A5D #5D173A #3A5D17
tetradic
#173A5D #5D175D #5D3A17 #175D17
square
#173A5D #5D175D #5D3A17 #175D17
split-complementary
#173A5D #5D1717 #5D5D17
monochromatic
#060F19 #0B1B2C #173A5D #23598E #2F77BF

Accessibility & contrast

On white

11.67
#173A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#173A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A5D
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A5D#FFFFFF#000000##FFFFFF
##173A5D1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C5E
Deuteranopia (green-blind)
#20355C
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173a5d;
/* rgb */ color: rgb(23, 58, 93);
/* oklch */ color: oklch(34.2% 0.074 250.9);
Tailwind
colors: {
  custom: {
    50: '#5e6f8b',
    500: '#173a5d',
    950: '#000000',
  },
}
SCSS
$custom: #173a5d;
$custom-light: #5e6f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#173a5d",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 93
  },
  "hsl": {
    "h": 210,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34163,
    "c": 0.07377,
    "h": 250.9
  },
  "luminance": 0.03999
}

Semantic roles & 50–950 ramp

primary
#173A5D
secondary
#94683C
accent
#9444E3
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #173A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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