#173D6E#173D6E

#173D6E is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 36.1% C 0.095 H 256.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#173D6E
RGBrgb(23, 61, 110)
HSLhsl(214, 65%, 26%)
HSVhsv(214, 79%, 43%)
CMYKcmyk(79.1%, 44.5%, 0%, 56.9%)
CIE-LABlab(25.70, 5.54, -32.29)
CIE-LCHlch(25.70, 32.76, 279.73°)
OKLaboklab(36.09% -0.0227 -0.0924)
OKLCHoklch(36.09% 0.095 256.2)
XYZxyz(4.8355, 4.6449, 15.3905)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D6E #6E4817
analogous
#17686E #173D6E #1C176E
triadic
#173D6E #6E173D #3D6E17
tetradic
#173D6E #6E1768 #6E4817 #176E1C
square
#173D6E #6E1768 #6E4817 #176E1C
split-complementary
#173D6E #6E1C17 #686E17
monochromatic
#050E19 #0C213B #173D6E #2259A1 #2C75D3

Accessibility & contrast

On white

10.89
#173D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#173D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D6E
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D6E#FFFFFF#000000##FFFFFF
##173D6E1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#16396D
Tritanopia (blue-blind)
#004950
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173d6e;
/* rgb */ color: rgb(23, 61, 110);
/* oklch */ color: oklch(36.1% 0.095 256.2);
Tailwind
colors: {
  custom: {
    50: '#627298',
    500: '#173d6e',
    950: '#000000',
  },
}
SCSS
$custom: #173d6e;
$custom-light: #627298;
$custom-dark: #000000;
JSON
{
  "hex": "#173d6e",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 110
  },
  "hsl": {
    "h": 213.793,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36091,
    "c": 0.09512,
    "h": 256.2
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#173D6E
secondary
#A4773D
accent
#9F3FE8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #173D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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