#173F62#173F62

#173F62 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.8% C 0.076 H 248.1°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#173F62
RGBrgb(23, 63, 98)
HSLhsl(208, 62%, 24%)
HSVhsv(208, 77%, 38%)
CMYKcmyk(76.5%, 35.7%, 0%, 61.6%)
CIE-LABlab(25.62, -0.75, -24.70)
CIE-LCHlch(25.62, 24.72, 268.25°)
OKLaboklab(35.79% -0.0281 -0.0701)
OKLCHoklch(35.79% 0.076 248.1)
XYZxyz(4.3346, 4.6185, 12.2159)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F62 #623A17
analogous
#17625F #173F62 #171962
triadic
#173F62 #62173F #3F6217
tetradic
#173F62 #5F1762 #623A17 #196217
square
#173F62 #5F1762 #623A17 #196217
split-complementary
#173F62 #621719 #625F17
monochromatic
#061019 #0B1F30 #173F62 #235F94 #2E7FC5

Accessibility & contrast

On white

10.92
#173F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#173F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F62
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F62#FFFFFF#000000##FFFFFF
##173F621.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4163
Deuteranopia (green-blind)
#253A61
Tritanopia (blue-blind)
#00474C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173f62;
/* rgb */ color: rgb(23, 63, 98);
/* oklch */ color: oklch(35.8% 0.076 248.1);
Tailwind
colors: {
  custom: {
    50: '#5f738f',
    500: '#173f62',
    950: '#000000',
  },
}
SCSS
$custom: #173f62;
$custom-light: #5f738f;
$custom-dark: #000000;
JSON
{
  "hex": "#173f62",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 98
  },
  "hsl": {
    "h": 208,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35791,
    "c": 0.07553,
    "h": 248.1
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#173F62
secondary
#99673C
accent
#8E43E5
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #173F62

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

Preview Lab → · Contrast checker → · Palette generator →

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