#173A4E#173A4E

#173A4E is a dark, muted cyan. Relative luminance 0.038; OKLCH L 33.3% C 0.054 H 236.6°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#173A4E
RGBrgb(23, 58, 78)
HSLhsl(202, 54%, 20%)
HSVhsv(202, 71%, 31%)
CMYKcmyk(70.5%, 25.6%, 0%, 69.4%)
CIE-LABlab(22.85, -5.34, -15.93)
CIE-LCHlch(22.85, 16.80, 251.47°)
OKLaboklab(33.26% -0.0295 -0.0447)
OKLCHoklch(33.26% 0.054 236.6)
XYZxyz(3.2410, 3.7580, 7.7608)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A4E #4E2B17
analogous
#174E46 #173A4E #171F4E
triadic
#173A4E #4E173A #3A4E17
tetradic
#173A4E #46174E #4E2B17 #1F4E17
square
#173A4E #46174E #4E2B17 #1F4E17
split-complementary
#173A4E #4E171F #4E4617
monochromatic
#071218 #09171F #173A4E #255D7D #3380AD

Accessibility & contrast

On white

11.99
#173A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173A4E
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A4E#FFFFFF#000000##FFFFFF
##173A4E1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4F
Deuteranopia (green-blind)
#29344E
Tritanopia (blue-blind)
#003F41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173a4e;
/* rgb */ color: rgb(23, 58, 78);
/* oklch */ color: oklch(33.3% 0.054 236.6);
Tailwind
colors: {
  custom: {
    50: '#5b707f',
    500: '#173a4e',
    950: '#000000',
  },
}
SCSS
$custom: #173a4e;
$custom-light: #5b707f;
$custom-dark: #000000;
JSON
{
  "hex": "#173a4e",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 78
  },
  "hsl": {
    "h": 201.818,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.33257,
    "c": 0.05357,
    "h": 236.6
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#173A4E
secondary
#85563C
accent
#804ADE
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #173A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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