#173E6F#173E6F

#173E6F is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.4% C 0.095 H 255.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#173E6F
RGBrgb(23, 62, 111)
HSLhsl(213, 66%, 26%)
HSVhsv(213, 79%, 44%)
CMYKcmyk(79.3%, 44.1%, 0%, 56.5%)
CIE-LABlab(26.08, 5.26, -32.31)
CIE-LCHlch(26.08, 32.74, 279.24°)
OKLaboklab(36.41% -0.0235 -0.0924)
OKLCHoklch(36.41% 0.095 255.7)
XYZxyz(4.9442, 4.7745, 15.6968)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E6F #6F4817
analogous
#176A6F #173E6F #1C176F
triadic
#173E6F #6F173E #3E6F17
tetradic
#173E6F #6F176A #6F4817 #176F1C
square
#173E6F #6F176A #6F4817 #176F1C
split-complementary
#173E6F #6F1C17 #6A6F17
monochromatic
#050E19 #0C223C #173E6F #225AA2 #2D77D3

Accessibility & contrast

On white

10.74
#173E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#173E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E6F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E6F#FFFFFF#000000##FFFFFF
##173E6F1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264271
Deuteranopia (green-blind)
#173A6E
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173e6f;
/* rgb */ color: rgb(23, 62, 111);
/* oklch */ color: oklch(36.4% 0.095 255.7);
Tailwind
colors: {
  custom: {
    50: '#627299',
    500: '#173e6f',
    950: '#000000',
  },
}
SCSS
$custom: #173e6f;
$custom-light: #627299;
$custom-dark: #000000;
JSON
{
  "hex": "#173e6f",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 111
  },
  "hsl": {
    "h": 213.409,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3641,
    "c": 0.09535,
    "h": 255.7
  },
  "luminance": 0.04775
}

Semantic roles & 50–950 ramp

primary
#173E6F
secondary
#A5773D
accent
#9E3FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #173E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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