#173A5F#173A5F

#173A5F is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.3% C 0.077 H 252.1°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#173A5F
RGBrgb(23, 58, 95)
HSLhsl(211, 61%, 23%)
HSVhsv(211, 76%, 37%)
CMYKcmyk(75.8%, 38.9%, 0%, 62.7%)
CIE-LABlab(23.78, 1.43, -25.66)
CIE-LCHlch(23.78, 25.70, 273.20°)
OKLaboklab(34.29% -0.0236 -0.073)
OKLCHoklch(34.29% 0.077 252.1)
XYZxyz(3.9312, 4.0341, 11.3957)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A5F #5F3C17
analogous
#175E5F #173A5F #18175F
triadic
#173A5F #5F173A #3A5F17
tetradic
#173A5F #5F175E #5F3C17 #175F18
square
#173A5F #5F175E #5F3C17 #175F18
split-complementary
#173A5F #5F1817 #5E5F17
monochromatic
#060F19 #0B1C2E #173A5F #235890 #2F76C2

Accessibility & contrast

On white

11.62
#173A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A5F
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A5F#FFFFFF#000000##FFFFFF
##173A5F1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#1F365E
Tritanopia (blue-blind)
#004348
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173a5f;
/* rgb */ color: rgb(23, 58, 95);
/* oklch */ color: oklch(34.3% 0.077 252.1);
Tailwind
colors: {
  custom: {
    50: '#5e6f8c',
    500: '#173a5f',
    950: '#000000',
  },
}
SCSS
$custom: #173a5f;
$custom-light: #5e6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#173a5f",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 95
  },
  "hsl": {
    "h": 210.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34294,
    "c": 0.07668,
    "h": 252.1
  },
  "luminance": 0.04034
}

Semantic roles & 50–950 ramp

primary
#173A5F
secondary
#966A3C
accent
#9644E4
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #173A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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