#173B6C#173B6C

#173B6C is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 35.5% C 0.095 H 257.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#173B6C
RGBrgb(23, 59, 108)
HSLhsl(215, 65%, 26%)
HSVhsv(215, 79%, 42%)
CMYKcmyk(78.7%, 45.4%, 0%, 57.6%)
CIE-LABlab(24.93, 6.10, -32.24)
CIE-LCHlch(24.93, 32.81, 280.72°)
OKLaboklab(35.45% -0.0213 -0.0922)
OKLCHoklch(35.45% 0.095 257)
XYZxyz(4.6231, 4.3923, 14.7886)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B6C #6C4817
analogous
#17656C #173B6C #1D176C
triadic
#173B6C #6C173B #3B6C17
tetradic
#173B6C #6C1765 #6C4817 #176C1D
square
#173B6C #6C1765 #6C4817 #176C1D
split-complementary
#173B6C #6C1D17 #656C17
monochromatic
#050E19 #0C1F3A #173B6C #22579E #2C72D1

Accessibility & contrast

On white

11.18
#173B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#173B6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B6C
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B6C#FFFFFF#000000##FFFFFF
##173B6C1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6E
Deuteranopia (green-blind)
#13386B
Tritanopia (blue-blind)
#00474E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173b6c;
/* rgb */ color: rgb(23, 59, 108);
/* oklch */ color: oklch(35.5% 0.095 257.0);
Tailwind
colors: {
  custom: {
    50: '#617096',
    500: '#173b6c',
    950: '#000000',
  },
}
SCSS
$custom: #173b6c;
$custom-light: #617096;
$custom-dark: #000000;
JSON
{
  "hex": "#173b6c",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 108
  },
  "hsl": {
    "h": 214.588,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35451,
    "c": 0.09467,
    "h": 257
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#173B6C
secondary
#A2773D
accent
#A140E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #173B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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