#174A5F#174A5F

#174A5F is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.6% C 0.064 H 229.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#174A5F
RGBrgb(23, 74, 95)
HSLhsl(198, 61%, 23%)
HSVhsv(198, 76%, 37%)
CMYKcmyk(75.8%, 22.1%, 0%, 62.7%)
CIE-LABlab(29.17, -9.04, -17.22)
CIE-LCHlch(29.17, 19.45, 242.30°)
OKLaboklab(38.56% -0.0415 -0.0483)
OKLCHoklch(38.56% 0.064 229.3)
XYZxyz(4.8669, 5.9054, 11.7076)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A5F #5F2C17
analogous
#175F50 #174A5F #17265F
triadic
#174A5F #5F174A #4A5F17
tetradic
#174A5F #50175F #5F2C17 #265F17
square
#174A5F #50175F #5F2C17 #265F17
split-complementary
#174A5F #5F1726 #5F5017
monochromatic
#061319 #0B242E #174A5F #237090 #2F97C2

Accessibility & contrast

On white

9.63
#174A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#174A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A5F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A5F#FFFFFF#000000##FFFFFF
##174A5F1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4960
Deuteranopia (green-blind)
#35425F
Tritanopia (blue-blind)
#005051
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #174a5f;
/* rgb */ color: rgb(23, 74, 95);
/* oklch */ color: oklch(38.6% 0.064 229.3);
Tailwind
colors: {
  custom: {
    50: '#5f7c8c',
    500: '#174a5f',
    950: '#000000',
  },
}
SCSS
$custom: #174a5f;
$custom-light: #5f7c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#174a5f",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 95
  },
  "hsl": {
    "h": 197.5,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.38557,
    "c": 0.06371,
    "h": 229.3
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#174A5F
secondary
#96563C
accent
#7244E4
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #174A5F

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

Preview Lab → · Contrast checker → · Palette generator →

#174A5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva