#174F8E#174F8E

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

Color values

HEX#174F8E
RGBrgb(23, 79, 142)
HSLhsl(212, 72%, 32%)
HSVhsv(212, 84%, 56%)
CMYKcmyk(83.8%, 44.4%, 0%, 44.3%)
CIE-LABlab(33.41, 6.44, -39.93)
CIE-LCHlch(33.41, 40.45, 279.16°)
OKLaboklab(42.74% -0.0318 -0.1144)
OKLCHoklch(42.74% 0.119 254.5)
XYZxyz(8.0300, 7.7261, 26.6540)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F8E #8E5617
analogous
#178A8E #174F8E #1B178E
triadic
#174F8E #8E174F #4F8E17
tetradic
#174F8E #8E178A #8E5617 #178E1B
square
#174F8E #8E178A #8E5617 #178E1B
split-complementary
#174F8E #8E1B17 #8A8E17
monochromatic
#061425 #0E3259 #174F8E #206CC3 #3F8BE0

Accessibility & contrast

On white

8.25
#174F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174F8E
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F8E#FFFFFF#000000##FFFFFF
##174F8E1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5490
Deuteranopia (green-blind)
#174A8D
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #174f8e;
/* rgb */ color: rgb(23, 79, 142);
/* oklch */ color: oklch(42.7% 0.119 254.5);
Tailwind
colors: {
  custom: {
    50: '#697faf',
    500: '#174f8e',
    950: '#000000',
  },
}
SCSS
$custom: #174f8e;
$custom-light: #697faf;
$custom-dark: #000000;
JSON
{
  "hex": "#174f8e",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 211.765,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42744,
    "c": 0.11879,
    "h": 254.5
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #174F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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