#173B62#173B62

#173B62 is a dark, moderate cyan. Relative luminance 0.042; OKLCH L 34.8% C 0.080 H 252.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#173B62
RGBrgb(23, 59, 98)
HSLhsl(211, 62%, 24%)
HSVhsv(211, 77%, 38%)
CMYKcmyk(76.5%, 39.8%, 0%, 61.6%)
CIE-LABlab(24.29, 1.97, -26.80)
CIE-LCHlch(24.29, 26.87, 274.21°)
OKLaboklab(34.75% -0.0238 -0.0763)
OKLCHoklch(34.75% 0.08 252.7)
XYZxyz(4.1211, 4.1915, 12.1447)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B62 #623E17
analogous
#176062 #173B62 #181762
triadic
#173B62 #62173B #3B6217
tetradic
#173B62 #621760 #623E17 #176218
square
#173B62 #621760 #623E17 #176218
split-complementary
#173B62 #621817 #606217
monochromatic
#060F19 #0B1D30 #173B62 #235994 #2E77C5

Accessibility & contrast

On white

11.42
#173B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#173B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B62
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B62#FFFFFF#000000##FFFFFF
##173B621.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293E64
Deuteranopia (green-blind)
#1E3761
Tritanopia (blue-blind)
#004449
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173b62;
/* rgb */ color: rgb(23, 59, 98);
/* oklch */ color: oklch(34.8% 0.080 252.7);
Tailwind
colors: {
  custom: {
    50: '#5f708f',
    500: '#173b62',
    950: '#000000',
  },
}
SCSS
$custom: #173b62;
$custom-light: #5f708f;
$custom-dark: #000000;
JSON
{
  "hex": "#173b62",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 98
  },
  "hsl": {
    "h": 211.2,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34752,
    "c": 0.07991,
    "h": 252.7
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#173B62
secondary
#996C3C
accent
#9743E5
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #173B62

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

Preview Lab → · Contrast checker → · Palette generator →

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