#173A61#173A61

#173A61 is a dark, moderate cyan. Relative luminance 0.041; OKLCH L 34.4% C 0.080 H 253.2°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#173A61
RGBrgb(23, 58, 97)
HSLhsl(212, 62%, 24%)
HSVhsv(212, 76%, 38%)
CMYKcmyk(76.3%, 40.2%, 0%, 62%)
CIE-LABlab(23.90, 2.25, -26.77)
CIE-LCHlch(23.90, 26.86, 274.81°)
OKLaboklab(34.43% -0.023 -0.0762)
OKLCHoklch(34.43% 0.08 253.2)
XYZxyz(4.0233, 4.0709, 11.8807)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A61 #613E17
analogous
#175F61 #173A61 #191761
triadic
#173A61 #61173A #3A6117
tetradic
#173A61 #61175F #613E17 #176119
square
#173A61 #61175F #613E17 #176119
split-complementary
#173A61 #611917 #5F6117
monochromatic
#060F19 #0B1C30 #173A61 #235892 #2E75C4

Accessibility & contrast

On white

11.58
#173A61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A61
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A61#FFFFFF#000000##FFFFFF
##173A611.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283D63
Deuteranopia (green-blind)
#1D3660
Tritanopia (blue-blind)
#004348
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173a61;
/* rgb */ color: rgb(23, 58, 97);
/* oklch */ color: oklch(34.4% 0.080 253.2);
Tailwind
colors: {
  custom: {
    50: '#5f6f8e',
    500: '#173a61',
    950: '#000000',
  },
}
SCSS
$custom: #173a61;
$custom-light: #5f6f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#173a61",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 97
  },
  "hsl": {
    "h": 211.622,
    "s": 61.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34428,
    "c": 0.07961,
    "h": 253.2
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#173A61
secondary
#986C3C
accent
#9843E5
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #173A61

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

Preview Lab → · Contrast checker → · Palette generator →

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