#174D8C#174D8C

#174D8C is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.118 H 255.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#174D8C
RGBrgb(23, 77, 140)
HSLhsl(212, 72%, 32%)
HSVhsv(212, 84%, 55%)
CMYKcmyk(83.6%, 45%, 0%, 45.1%)
CIE-LABlab(32.66, 6.96, -39.90)
CIE-LCHlch(32.66, 40.50, 279.90°)
OKLaboklab(42.13% -0.0305 -0.1144)
OKLCHoklch(42.13% 0.118 255.1)
XYZxyz(7.7391, 7.3824, 25.8229)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D8C #8C5617
analogous
#17888C #174D8C #1C178C
triadic
#174D8C #8C174D #4D8C17
tetradic
#174D8C #8C1788 #8C5617 #178C1C
square
#174D8C #8C1788 #8C5617 #178C1C
split-complementary
#174D8C #8C1C17 #888C17
monochromatic
#061323 #0E3057 #174D8C #206AC1 #3E88DF

Accessibility & contrast

On white

8.48
#174D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174D8C
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D8C#FFFFFF#000000##FFFFFF
##174D8C1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528E
Deuteranopia (green-blind)
#14488B
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #174d8c;
/* rgb */ color: rgb(23, 77, 140);
/* oklch */ color: oklch(42.1% 0.118 255.1);
Tailwind
colors: {
  custom: {
    50: '#697eae',
    500: '#174d8c',
    950: '#000000',
  },
}
SCSS
$custom: #174d8c;
$custom-light: #697eae;
$custom-dark: #000000;
JSON
{
  "hex": "#174d8c",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 140
  },
  "hsl": {
    "h": 212.308,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42125,
    "c": 0.1184,
    "h": 255.1
  },
  "luminance": 0.07383
}

Semantic roles & 50–950 ramp

primary
#174D8C
secondary
#BF843F
accent
#9B39EF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #174D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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