#174D8A#174D8A

#174D8A is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 42.0% C 0.116 H 254.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#174D8A
RGBrgb(23, 77, 138)
HSLhsl(212, 71%, 32%)
HSVhsv(212, 83%, 54%)
CMYKcmyk(83.3%, 44.2%, 0%, 45.9%)
CIE-LABlab(32.53, 6.15, -38.88)
CIE-LCHlch(32.53, 39.36, 278.98°)
OKLaboklab(41.98% -0.031 -0.1114)
OKLCHoklch(41.98% 0.116 254.5)
XYZxyz(7.5930, 7.3240, 25.0533)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D8A #8A5417
analogous
#17878A #174D8A #1A178A
triadic
#174D8A #8A174D #4D8A17
tetradic
#174D8A #8A1787 #8A5417 #178A1A
square
#174D8A #8A1787 #8A5417 #178A1A
split-complementary
#174D8A #8A1A17 #878A17
monochromatic
#061221 #0E3056 #174D8A #206ABE #3D89DF

Accessibility & contrast

On white

8.52
#174D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#174D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174D8A
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D8A#FFFFFF#000000##FFFFFF
##174D8A1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#184889
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #174d8a;
/* rgb */ color: rgb(23, 77, 138);
/* oklch */ color: oklch(42.0% 0.116 254.5);
Tailwind
colors: {
  custom: {
    50: '#687eac',
    500: '#174d8a',
    950: '#000000',
  },
}
SCSS
$custom: #174d8a;
$custom-light: #687eac;
$custom-dark: #000000;
JSON
{
  "hex": "#174d8a",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 211.826,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.11562,
    "h": 254.5
  },
  "luminance": 0.07325
}

Semantic roles & 50–950 ramp

primary
#174D8A
secondary
#BE823F
accent
#993AEE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #174D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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