#174F8F#174F8F

#174F8F is a dark, vivid cyan. Relative luminance 0.078; OKLCH L 42.8% C 0.120 H 254.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#174F8F
RGBrgb(23, 79, 143)
HSLhsl(212, 72%, 33%)
HSVhsv(212, 84%, 56%)
CMYKcmyk(83.9%, 44.8%, 0%, 43.9%)
CIE-LABlab(33.47, 6.85, -40.44)
CIE-LCHlch(33.47, 41.01, 279.61°)
OKLaboklab(42.82% -0.0316 -0.1159)
OKLCHoklch(42.82% 0.12 254.8)
XYZxyz(8.1054, 7.7563, 27.0512)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F8F #8F5717
analogous
#178B8F #174F8F #1B178F
triadic
#174F8F #8F174F #4F8F17
tetradic
#174F8F #8F178B #8F5717 #178F1B
square
#174F8F #8F178B #8F5717 #178F1B
split-complementary
#174F8F #8F1B17 #8B8F17
monochromatic
#061526 #0F325A #174F8F #1F6CC4 #408BE0

Accessibility & contrast

On white

8.23
#174F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#174F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F8F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F8F#FFFFFF#000000##FFFFFF
##174F8F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5491
Deuteranopia (green-blind)
#164A8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #174f8f;
/* rgb */ color: rgb(23, 79, 143);
/* oklch */ color: oklch(42.8% 0.120 254.8);
Tailwind
colors: {
  custom: {
    50: '#6a7fb0',
    500: '#174f8f',
    950: '#000000',
  },
}
SCSS
$custom: #174f8f;
$custom-light: #6a7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#174f8f",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 212,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42815,
    "c": 0.12016,
    "h": 254.8
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#174F8F
secondary
#C18541
accent
#9A39EF
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #174F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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