#173F76#173F76

#173F76 is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 37.2% C 0.104 H 257.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#173F76
RGBrgb(23, 63, 118)
HSLhsl(215, 67%, 28%)
HSVhsv(215, 81%, 46%)
CMYKcmyk(80.5%, 46.6%, 0%, 53.7%)
CIE-LABlab(26.86, 7.47, -35.51)
CIE-LCHlch(26.86, 36.29, 281.87°)
OKLaboklab(37.16% -0.0229 -0.1018)
OKLCHoklch(37.16% 0.104 257.3)
XYZxyz(5.3997, 5.0445, 17.8251)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F76 #764E17
analogous
#176E76 #173F76 #1F1776
triadic
#173F76 #76173F #3F7617
tetradic
#173F76 #76176E #764E17 #17761F
square
#173F76 #76176E #764E17 #17761F
split-complementary
#173F76 #761F17 #6E7617
monochromatic
#050E1A #0D2443 #173F76 #215AA9 #3177D7

Accessibility & contrast

On white

10.45
#173F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#173F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F76
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F76#FFFFFF#000000##FFFFFF
##173F761.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234478
Deuteranopia (green-blind)
#0F3B75
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173f76;
/* rgb */ color: rgb(23, 63, 118);
/* oklch */ color: oklch(37.2% 0.104 257.3);
Tailwind
colors: {
  custom: {
    50: '#64739e',
    500: '#173f76',
    950: '#000000',
  },
}
SCSS
$custom: #173f76;
$custom-light: #64739e;
$custom-dark: #000000;
JSON
{
  "hex": "#173f76",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 118
  },
  "hsl": {
    "h": 214.737,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37163,
    "c": 0.10433,
    "h": 257.3
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#173F76
secondary
#AB7D3E
accent
#A23EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #173F76

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

Preview Lab → · Contrast checker → · Palette generator →

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