#173A54#173A54

#173A54 is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.6% C 0.061 H 243.6°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#173A54
RGBrgb(23, 58, 84)
HSLhsl(206, 57%, 21%)
HSVhsv(206, 73%, 33%)
CMYKcmyk(72.6%, 31%, 0%, 67.1%)
CIE-LABlab(23.16, -3.00, -19.42)
CIE-LCHlch(23.16, 19.65, 261.23°)
OKLaboklab(33.6% -0.0272 -0.0548)
OKLCHoklch(33.6% 0.061 243.6)
XYZxyz(3.4660, 3.8480, 8.9459)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A54 #543117
analogous
#17544F #173A54 #171B54
triadic
#173A54 #54173A #3A5417
tetradic
#173A54 #4F1754 #543117 #1B5417
square
#173A54 #4F1754 #543117 #1B5417
split-complementary
#173A54 #54171B #544F17
monochromatic
#071118 #0A1924 #173A54 #245B84 #317CB4

Accessibility & contrast

On white

11.87
#173A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#173A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A54
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A54#FFFFFF#000000##FFFFFF
##173A541.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B55
Deuteranopia (green-blind)
#263554
Tritanopia (blue-blind)
#004043
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173a54;
/* rgb */ color: rgb(23, 58, 84);
/* oklch */ color: oklch(33.6% 0.061 243.6);
Tailwind
colors: {
  custom: {
    50: '#5c7084',
    500: '#173a54',
    950: '#000000',
  },
}
SCSS
$custom: #173a54;
$custom-light: #5c7084;
$custom-dark: #000000;
JSON
{
  "hex": "#173a54",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 84
  },
  "hsl": {
    "h": 205.574,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33602,
    "c": 0.06117,
    "h": 243.6
  },
  "luminance": 0.03848
}

Semantic roles & 50–950 ramp

primary
#173A54
secondary
#8B5E3C
accent
#8948E0
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #173A54

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

Preview Lab → · Contrast checker → · Palette generator →

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