#173A5E#173A5E

#173A5E is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.2% C 0.075 H 251.5°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#173A5E
RGBrgb(23, 58, 94)
HSLhsl(210, 61%, 23%)
HSVhsv(210, 76%, 37%)
CMYKcmyk(75.5%, 38.3%, 0%, 63.1%)
CIE-LABlab(23.72, 1.02, -25.10)
CIE-LCHlch(23.72, 25.12, 272.34°)
OKLaboklab(34.23% -0.0239 -0.0713)
OKLCHoklch(34.23% 0.075 251.5)
XYZxyz(3.8860, 4.0160, 11.1579)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A5E #5E3B17
analogous
#175D5E #173A5E #18175E
triadic
#173A5E #5E173A #3A5E17
tetradic
#173A5E #5E175D #5E3B17 #175E18
square
#173A5E #5E175D #5E3B17 #175E18
split-complementary
#173A5E #5E1817 #5D5E17
monochromatic
#060F19 #0B1C2D #173A5E #23588F #2F77C0

Accessibility & contrast

On white

11.65
#173A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#173A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A5E
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A5E#FFFFFF#000000##FFFFFF
##173A5E1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C5F
Deuteranopia (green-blind)
#1F355D
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173a5e;
/* rgb */ color: rgb(23, 58, 94);
/* oklch */ color: oklch(34.2% 0.075 251.5);
Tailwind
colors: {
  custom: {
    50: '#5e6f8c',
    500: '#173a5e',
    950: '#000000',
  },
}
SCSS
$custom: #173a5e;
$custom-light: #5e6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#173a5e",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 94
  },
  "hsl": {
    "h": 210.423,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34228,
    "c": 0.07522,
    "h": 251.5
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#173A5E
secondary
#95693C
accent
#9544E4
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #173A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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