#174F7F#174F7F

#174F7F is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.098 H 248.8°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#174F7F
RGBrgb(23, 79, 127)
HSLhsl(208, 69%, 29%)
HSVhsv(208, 82%, 50%)
CMYKcmyk(81.9%, 37.8%, 0%, 50.2%)
CIE-LABlab(32.49, 0.35, -32.16)
CIE-LCHlch(32.49, 32.16, 270.62°)
OKLaboklab(41.74% -0.0356 -0.0916)
OKLCHoklch(41.74% 0.098 248.8)
XYZxyz(6.9786, 7.3056, 21.1169)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F7F #7F4717
analogous
#177F7B #174F7F #171B7F
triadic
#174F7F #7F174F #4F7F17
tetradic
#174F7F #7B177F #7F4717 #1B7F17
square
#174F7F #7B177F #7F4717 #1B7F17
split-complementary
#174F7F #7F171B #7F7B17
monochromatic
#05101A #0E2F4B #174F7F #206FB3 #368FDB

Accessibility & contrast

On white

8.53
#174F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#174F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F7F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F7F#FFFFFF#000000##FFFFFF
##174F7F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385281
Deuteranopia (green-blind)
#29487E
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #174f7f;
/* rgb */ color: rgb(23, 79, 127);
/* oklch */ color: oklch(41.7% 0.098 248.8);
Tailwind
colors: {
  custom: {
    50: '#6680a4',
    500: '#174f7f',
    950: '#000000',
  },
}
SCSS
$custom: #174f7f;
$custom-light: #6680a4;
$custom-dark: #000000;
JSON
{
  "hex": "#174f7f",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 207.692,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41735,
    "c": 0.0983,
    "h": 248.8
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#174F7F
secondary
#B4743E
accent
#8D3CEC
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #174F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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