#173B5E#173B5E

#173B5E is a dark, moderate cyan. Relative luminance 0.041; OKLCH L 34.5% C 0.074 H 250.3°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#173B5E
RGBrgb(23, 59, 94)
HSLhsl(210, 61%, 23%)
HSVhsv(210, 76%, 37%)
CMYKcmyk(75.5%, 37.2%, 0%, 63.1%)
CIE-LABlab(24.06, 0.34, -24.57)
CIE-LCHlch(24.06, 24.58, 270.79°)
OKLaboklab(34.49% -0.025 -0.0698)
OKLCHoklch(34.49% 0.074 250.3)
XYZxyz(3.9369, 4.1178, 11.1748)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B5E #5E3A17
analogous
#175E5D #173B5E #17185E
triadic
#173B5E #5E173B #3B5E17
tetradic
#173B5E #5D175E #5E3A17 #185E17
square
#173B5E #5D175E #5E3A17 #185E17
split-complementary
#173B5E #5E1718 #5E5D17
monochromatic
#060F19 #0B1C2D #173B5E #235A8F #2F79C0

Accessibility & contrast

On white

11.52
#173B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#173B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B5E
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B5E#FFFFFF#000000##FFFFFF
##173B5E1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D5F
Deuteranopia (green-blind)
#21365D
Tritanopia (blue-blind)
#004348
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173b5e;
/* rgb */ color: rgb(23, 59, 94);
/* oklch */ color: oklch(34.5% 0.074 250.3);
Tailwind
colors: {
  custom: {
    50: '#5e708c',
    500: '#173b5e',
    950: '#000000',
  },
}
SCSS
$custom: #173b5e;
$custom-light: #5e708c;
$custom-dark: #000000;
JSON
{
  "hex": "#173b5e",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 94
  },
  "hsl": {
    "h": 209.577,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34489,
    "c": 0.07412,
    "h": 250.3
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#173B5E
secondary
#95683C
accent
#9344E4
background
#F5F6F8
surface
#EAECF0
border
#C6C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #173B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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