#174D8D#174D8D

#174D8D is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.2% C 0.120 H 255.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#174D8D
RGBrgb(23, 77, 141)
HSLhsl(213, 72%, 32%)
HSVhsv(213, 84%, 55%)
CMYKcmyk(83.7%, 45.4%, 0%, 44.7%)
CIE-LABlab(32.73, 7.37, -40.41)
CIE-LCHlch(32.73, 41.07, 280.34°)
OKLaboklab(42.2% -0.0303 -0.1159)
OKLCHoklch(42.2% 0.12 255.3)
XYZxyz(7.8132, 7.4120, 26.2130)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D8D #8D5717
analogous
#17888D #174D8D #1C178D
triadic
#174D8D #8D174D #4D8D17
tetradic
#174D8D #8D1788 #8D5717 #178D1C
square
#174D8D #8D1788 #8D5717 #178D1C
split-complementary
#174D8D #8D1C17 #888D17
monochromatic
#061424 #0E3058 #174D8D #206AC2 #3F88E0

Accessibility & contrast

On white

8.46
#174D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#174D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174D8D
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D8D#FFFFFF#000000##FFFFFF
##174D8D1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C538F
Deuteranopia (green-blind)
#13488C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #174d8d;
/* rgb */ color: rgb(23, 77, 141);
/* oklch */ color: oklch(42.2% 0.120 255.3);
Tailwind
colors: {
  custom: {
    50: '#697eaf',
    500: '#174d8d',
    950: '#000000',
  },
}
SCSS
$custom: #174d8d;
$custom-light: #697eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#174d8d",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 212.542,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42196,
    "c": 0.11979,
    "h": 255.3
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#174D8D
secondary
#C08540
accent
#9C39EF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #174D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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