#174F8D#174F8D

#174F8D is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.7% C 0.117 H 254.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#174F8D
RGBrgb(23, 79, 141)
HSLhsl(212, 72%, 32%)
HSVhsv(212, 84%, 55%)
CMYKcmyk(83.7%, 44%, 0%, 44.7%)
CIE-LABlab(33.34, 6.03, -39.42)
CIE-LCHlch(33.34, 39.88, 278.70°)
OKLaboklab(42.67% -0.032 -0.1129)
OKLCHoklch(42.67% 0.117 254.2)
XYZxyz(7.9552, 7.6962, 26.2604)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F8D #8D5517
analogous
#178A8D #174F8D #1A178D
triadic
#174F8D #8D174F #4F8D17
tetradic
#174F8D #8D178A #8D5517 #178D1A
square
#174F8D #8D178A #8D5517 #178D1A
split-complementary
#174F8D #8D1A17 #8A8D17
monochromatic
#061424 #0E3258 #174F8D #206CC2 #3F8BE0

Accessibility & contrast

On white

8.27
#174F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#174F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F8D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F8D#FFFFFF#000000##FFFFFF
##174F8D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#194A8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #174f8d;
/* rgb */ color: rgb(23, 79, 141);
/* oklch */ color: oklch(42.7% 0.117 254.2);
Tailwind
colors: {
  custom: {
    50: '#697faf',
    500: '#174f8d',
    950: '#000000',
  },
}
SCSS
$custom: #174f8d;
$custom-light: #697faf;
$custom-dark: #000000;
JSON
{
  "hex": "#174f8d",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 211.525,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42674,
    "c": 0.1174,
    "h": 254.2
  },
  "luminance": 0.07697
}

Semantic roles & 50–950 ramp

primary
#174F8D
secondary
#C08340
accent
#9939EF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #174F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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