#173A57#173A57

#173A57 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.8% C 0.065 H 246.4°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#173A57
RGBrgb(23, 58, 87)
HSLhsl(207, 58%, 22%)
HSVhsv(207, 74%, 34%)
CMYKcmyk(73.6%, 33.3%, 0%, 65.9%)
CIE-LABlab(23.32, -1.80, -21.15)
CIE-LCHlch(23.32, 21.22, 265.13°)
OKLaboklab(33.78% -0.0261 -0.0598)
OKLCHoklch(33.78% 0.065 246.4)
XYZxyz(3.5861, 3.8960, 9.5780)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A57 #573417
analogous
#175754 #173A57 #171A57
triadic
#173A57 #57173A #3A5717
tetradic
#173A57 #541757 #573417 #1A5717
square
#173A57 #541757 #573417 #1A5717
split-complementary
#173A57 #57171A #575417
monochromatic
#061018 #0A1A27 #173A57 #245A87 #317BB8

Accessibility & contrast

On white

11.80
#173A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#173A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A57
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A57#FFFFFF#000000##FFFFFF
##173A571.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B58
Deuteranopia (green-blind)
#243556
Tritanopia (blue-blind)
#004144
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173a57;
/* rgb */ color: rgb(23, 58, 87);
/* oklch */ color: oklch(33.8% 0.065 246.4);
Tailwind
colors: {
  custom: {
    50: '#5d6f86',
    500: '#173a57',
    950: '#000000',
  },
}
SCSS
$custom: #173a57;
$custom-light: #5d6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#173a57",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 87
  },
  "hsl": {
    "h": 207.188,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33783,
    "c": 0.06526,
    "h": 246.4
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#173A57
secondary
#8E613C
accent
#8D46E1
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #173A57

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

Preview Lab → · Contrast checker → · Palette generator →

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