#173A5C#173A5C

#173A5C is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.1% C 0.072 H 250.2°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#173A5C
RGBrgb(23, 58, 92)
HSLhsl(210, 60%, 23%)
HSVhsv(210, 75%, 36%)
CMYKcmyk(75%, 37%, 0%, 63.9%)
CIE-LABlab(23.61, 0.21, -23.98)
CIE-LCHlch(23.61, 23.98, 270.50°)
OKLaboklab(34.1% -0.0245 -0.0681)
OKLCHoklch(34.1% 0.072 250.2)
XYZxyz(3.7975, 3.9806, 10.6913)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A5C #5C3917
analogous
#175C5B #173A5C #17185C
triadic
#173A5C #5C173A #3A5C17
tetradic
#173A5C #5B175C #5C3917 #185C17
square
#173A5C #5B175C #5C3917 #185C17
split-complementary
#173A5C #5C1718 #5C5B17
monochromatic
#060F18 #0B1B2B #173A5C #23598D #2F78BE

Accessibility & contrast

On white

11.69
#173A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A5C
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A5C#FFFFFF#000000##FFFFFF
##173A5C1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5D
Deuteranopia (green-blind)
#21355B
Tritanopia (blue-blind)
#004246
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173a5c;
/* rgb */ color: rgb(23, 58, 92);
/* oklch */ color: oklch(34.1% 0.072 250.2);
Tailwind
colors: {
  custom: {
    50: '#5e6f8a',
    500: '#173a5c',
    950: '#000000',
  },
}
SCSS
$custom: #173a5c;
$custom-light: #5e6f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#173a5c",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 92
  },
  "hsl": {
    "h": 209.565,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.34098,
    "c": 0.07233,
    "h": 250.2
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#173A5C
secondary
#93673C
accent
#9345E3
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #173A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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