#173A4D#173A4D

#173A4D is a dark, muted cyan. Relative luminance 0.037; OKLCH L 33.2% C 0.052 H 235.2°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#173A4D
RGBrgb(23, 58, 77)
HSLhsl(201, 54%, 20%)
HSVhsv(201, 70%, 30%)
CMYKcmyk(70.1%, 24.7%, 0%, 69.8%)
CIE-LABlab(22.81, -5.72, -15.34)
CIE-LCHlch(22.81, 16.38, 249.54°)
OKLaboklab(33.2% -0.0299 -0.043)
OKLCHoklch(33.2% 0.052 235.2)
XYZxyz(3.2054, 3.7438, 7.5734)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A4D #4D2A17
analogous
#174D45 #173A4D #171F4D
triadic
#173A4D #4D173A #3A4D17
tetradic
#173A4D #45174D #4D2A17 #1F4D17
square
#173A4D #45174D #4D2A17 #1F4D17
split-complementary
#173A4D #4D171F #4D4517
monochromatic
#071218 #09171E #173A4D #255D7C #3381AB

Accessibility & contrast

On white

12.01
#173A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#173A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A4D
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A4D#FFFFFF#000000##FFFFFF
##173A4D1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4E
Deuteranopia (green-blind)
#29344D
Tritanopia (blue-blind)
#003F40
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #173a4d;
/* rgb */ color: rgb(23, 58, 77);
/* oklch */ color: oklch(33.2% 0.052 235.2);
Tailwind
colors: {
  custom: {
    50: '#5b707f',
    500: '#173a4d',
    950: '#000000',
  },
}
SCSS
$custom: #173a4d;
$custom-light: #5b707f;
$custom-dark: #000000;
JSON
{
  "hex": "#173a4d",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 77
  },
  "hsl": {
    "h": 201.111,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.33201,
    "c": 0.0524,
    "h": 235.2
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#173A4D
secondary
#84553C
accent
#7E4ADD
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #173A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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