#173A5A#173A5A

#173A5A is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 34.0% C 0.069 H 248.8°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#173A5A
RGBrgb(23, 58, 90)
HSLhsl(209, 59%, 22%)
HSVhsv(209, 74%, 35%)
CMYKcmyk(74.4%, 35.6%, 0%, 64.7%)
CIE-LABlab(23.49, -0.60, -22.85)
CIE-LCHlch(23.49, 22.86, 268.50°)
OKLaboklab(33.97% -0.0251 -0.0648)
OKLCHoklch(33.97% 0.069 248.8)
XYZxyz(3.7112, 3.9461, 10.2370)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A5A #5A3717
analogous
#175A59 #173A5A #17185A
triadic
#173A5A #5A173A #3A5A17
tetradic
#173A5A #59175A #5A3717 #185A17
square
#173A5A #59175A #5A3717 #185A17
split-complementary
#173A5A #5A1718 #5A5917
monochromatic
#061018 #0B1B29 #173A5A #23598B #3079BB

Accessibility & contrast

On white

11.74
#173A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#173A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A5A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A5A#FFFFFF#000000##FFFFFF
##173A5A1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B5B
Deuteranopia (green-blind)
#223559
Tritanopia (blue-blind)
#004245
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173a5a;
/* rgb */ color: rgb(23, 58, 90);
/* oklch */ color: oklch(34.0% 0.069 248.8);
Tailwind
colors: {
  custom: {
    50: '#5d6f89',
    500: '#173a5a',
    950: '#000000',
  },
}
SCSS
$custom: #173a5a;
$custom-light: #5d6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#173a5a",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 90
  },
  "hsl": {
    "h": 208.657,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3397,
    "c": 0.06946,
    "h": 248.8
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#173A5A
secondary
#91643C
accent
#9045E2
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #173A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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