#174E8D#174E8D

#174E8D is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.119 H 254.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#174E8D
RGBrgb(23, 78, 141)
HSLhsl(212, 72%, 32%)
HSVhsv(212, 84%, 55%)
CMYKcmyk(83.7%, 44.7%, 0%, 44.7%)
CIE-LABlab(33.03, 6.70, -39.91)
CIE-LCHlch(33.03, 40.47, 279.53°)
OKLaboklab(42.44% -0.0312 -0.1144)
OKLCHoklch(42.44% 0.119 254.8)
XYZxyz(7.8837, 7.5531, 26.2365)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174E8D #8D5617
analogous
#17898D #174E8D #1B178D
triadic
#174E8D #8D174E #4E8D17
tetradic
#174E8D #8D1789 #8D5617 #178D1B
square
#174E8D #8D1789 #8D5617 #178D1B
split-complementary
#174E8D #8D1B17 #898D17
monochromatic
#061424 #0E3158 #174E8D #206BC2 #3F8AE0

Accessibility & contrast

On white

8.36
#174E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#174E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174E8D
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174E8D#FFFFFF#000000##FFFFFF
##174E8D1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538F
Deuteranopia (green-blind)
#16498C
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #174e8d;
/* rgb */ color: rgb(23, 78, 141);
/* oklch */ color: oklch(42.4% 0.119 254.8);
Tailwind
colors: {
  custom: {
    50: '#697faf',
    500: '#174e8d',
    950: '#000000',
  },
}
SCSS
$custom: #174e8d;
$custom-light: #697faf;
$custom-dark: #000000;
JSON
{
  "hex": "#174e8d",
  "rgb": {
    "r": 23,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 212.034,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42435,
    "c": 0.11859,
    "h": 254.8
  },
  "luminance": 0.07554
}

Semantic roles & 50–950 ramp

primary
#174E8D
secondary
#C08440
accent
#9A39EF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #174E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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