#173F6D#173F6D

#173F6D is a dark, moderate cyan. Relative luminance 0.048; OKLCH L 36.5% C 0.091 H 254.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#173F6D
RGBrgb(23, 63, 109)
HSLhsl(212, 65%, 26%)
HSVhsv(212, 79%, 43%)
CMYKcmyk(78.9%, 42.2%, 0%, 57.3%)
CIE-LABlab(26.28, 3.74, -30.73)
CIE-LCHlch(26.28, 30.95, 276.94°)
OKLaboklab(36.52% -0.0249 -0.0877)
OKLCHoklch(36.52% 0.091 254.1)
XYZxyz(4.8901, 4.8407, 15.1417)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F6D #6D4517
analogous
#176A6D #173F6D #1A176D
triadic
#173F6D #6D173F #3F6D17
tetradic
#173F6D #6D176A #6D4517 #176D1A
square
#173F6D #6D176A #6D4517 #176D1A
split-complementary
#173F6D #6D1A17 #6A6D17
monochromatic
#050F19 #0C223A #173F6D #225CA0 #2C79D2

Accessibility & contrast

On white

10.67
#173F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#173F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F6D
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F6D#FFFFFF#000000##FFFFFF
##173F6D1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29426F
Deuteranopia (green-blind)
#1B3B6C
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173f6d;
/* rgb */ color: rgb(23, 63, 109);
/* oklch */ color: oklch(36.5% 0.091 254.1);
Tailwind
colors: {
  custom: {
    50: '#627397',
    500: '#173f6d',
    950: '#000000',
  },
}
SCSS
$custom: #173f6d;
$custom-light: #627397;
$custom-dark: #000000;
JSON
{
  "hex": "#173f6d",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 109
  },
  "hsl": {
    "h": 212.093,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36519,
    "c": 0.09121,
    "h": 254.1
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#173F6D
secondary
#A3733D
accent
#9A40E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #173F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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