#173A66#173A66

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

Color values

HEX#173A66
RGBrgb(23, 58, 102)
HSLhsl(213, 63%, 25%)
HSVhsv(213, 77%, 40%)
CMYKcmyk(77.5%, 43.1%, 0%, 60%)
CIE-LABlab(24.22, 4.31, -29.51)
CIE-LCHlch(24.22, 29.83, 278.31°)
OKLaboklab(34.77% -0.0217 -0.0843)
OKLCHoklch(34.77% 0.087 255.6)
XYZxyz(4.2638, 4.1671, 13.1474)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A66 #664317
analogous
#176266 #173A66 #1C1766
triadic
#173A66 #66173A #3A6617
tetradic
#173A66 #661762 #664317 #17661C
square
#173A66 #661762 #664317 #17661C
split-complementary
#173A66 #661C17 #626617
monochromatic
#060E19 #0C1E34 #173A66 #225698 #2E73CA

Accessibility & contrast

On white

11.45
#173A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#173A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A66
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A66#FFFFFF#000000##FFFFFF
##173A661.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253E68
Deuteranopia (green-blind)
#183665
Tritanopia (blue-blind)
#00444B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173a66;
/* rgb */ color: rgb(23, 58, 102);
/* oklch */ color: oklch(34.8% 0.087 255.6);
Tailwind
colors: {
  custom: {
    50: '#606f92',
    500: '#173a66',
    950: '#000000',
  },
}
SCSS
$custom: #173a66;
$custom-light: #606f92;
$custom-dark: #000000;
JSON
{
  "hex": "#173a66",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 102
  },
  "hsl": {
    "h": 213.418,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34772,
    "c": 0.08701,
    "h": 255.6
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#173A66
secondary
#9C723C
accent
#9D42E6
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#05070D
muted
#7A7A7E

Preview Lab

Preview with #173A66

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

Preview Lab → · Contrast checker → · Palette generator →

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