#173D71#173D71

#173D71 is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 36.3% C 0.100 H 257.2°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#173D71
RGBrgb(23, 61, 113)
HSLhsl(215, 66%, 27%)
HSVhsv(215, 80%, 44%)
CMYKcmyk(79.6%, 46%, 0%, 55.7%)
CIE-LABlab(25.90, 6.78, -33.89)
CIE-LCHlch(25.90, 34.56, 281.32°)
OKLaboklab(36.31% -0.0221 -0.097)
OKLCHoklch(36.31% 0.1 257.2)
XYZxyz(5.0016, 4.7113, 16.2654)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D71 #714B17
analogous
#176A71 #173D71 #1E1771
triadic
#173D71 #71173D #3D7117
tetradic
#173D71 #71176A #714B17 #17711E
square
#173D71 #71176A #714B17 #17711E
split-complementary
#173D71 #711E17 #6A7117
monochromatic
#050E19 #0D223E #173D71 #2158A4 #2E74D4

Accessibility & contrast

On white

10.81
#173D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#173D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D71
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D71#FFFFFF#000000##FFFFFF
##173D711.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#113A70
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173d71;
/* rgb */ color: rgb(23, 61, 113);
/* oklch */ color: oklch(36.3% 0.100 257.2);
Tailwind
colors: {
  custom: {
    50: '#63729a',
    500: '#173d71',
    950: '#000000',
  },
}
SCSS
$custom: #173d71;
$custom-light: #63729a;
$custom-dark: #000000;
JSON
{
  "hex": "#173d71",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 214.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36308,
    "c": 0.09953,
    "h": 257.2
  },
  "luminance": 0.04712
}

Semantic roles & 50–950 ramp

primary
#173D71
secondary
#A77A3D
accent
#A13FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173D71

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

Preview Lab → · Contrast checker → · Palette generator →

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