#173F6F#173F6F

#173F6F is a dark, moderate cyan. Relative luminance 0.049; OKLCH L 36.7% C 0.094 H 254.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#173F6F
RGBrgb(23, 63, 111)
HSLhsl(213, 66%, 26%)
HSVhsv(213, 79%, 44%)
CMYKcmyk(79.3%, 43.2%, 0%, 56.5%)
CIE-LABlab(26.40, 4.57, -31.80)
CIE-LCHlch(26.40, 32.13, 278.17°)
OKLaboklab(36.66% -0.0244 -0.0909)
OKLCHoklch(36.66% 0.094 254.9)
XYZxyz(4.9990, 4.8843, 15.7151)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F6F #6F4717
analogous
#176B6F #173F6F #1B176F
triadic
#173F6F #6F173F #3F6F17
tetradic
#173F6F #6F176B #6F4717 #176F1B
square
#173F6F #6F176B #6F4717 #176F1B
split-complementary
#173F6F #6F1B17 #6B6F17
monochromatic
#050E19 #0C223C #173F6F #225CA2 #2D79D3

Accessibility & contrast

On white

10.62
#173F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#173F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F6F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F6F#FFFFFF#000000##FFFFFF
##173F6F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284371
Deuteranopia (green-blind)
#193B6E
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173f6f;
/* rgb */ color: rgb(23, 63, 111);
/* oklch */ color: oklch(36.7% 0.094 254.9);
Tailwind
colors: {
  custom: {
    50: '#627398',
    500: '#173f6f',
    950: '#000000',
  },
}
SCSS
$custom: #173f6f;
$custom-light: #627398;
$custom-dark: #000000;
JSON
{
  "hex": "#173f6f",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 111
  },
  "hsl": {
    "h": 212.727,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36659,
    "c": 0.09412,
    "h": 254.9
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#173F6F
secondary
#A5763D
accent
#9C3FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #173F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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