#174A8E#174A8E

#174A8E is a dark, vivid cyan. Relative luminance 0.070; OKLCH L 41.6% C 0.125 H 257.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#174A8E
RGBrgb(23, 74, 142)
HSLhsl(214, 72%, 32%)
HSVhsv(214, 84%, 56%)
CMYKcmyk(83.8%, 47.9%, 0%, 44.3%)
CIE-LABlab(31.88, 9.81, -42.38)
CIE-LCHlch(31.88, 43.50, 283.04°)
OKLaboklab(41.56% -0.0276 -0.1218)
OKLCHoklch(41.56% 0.125 257.2)
XYZxyz(7.6828, 7.0318, 26.5383)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A8E #8E5B17
analogous
#17858E #174A8E #20178E
triadic
#174A8E #8E174A #4A8E17
tetradic
#174A8E #8E1785 #8E5B17 #178E20
square
#174A8E #8E1785 #8E5B17 #178E20
split-complementary
#174A8E #8E2017 #858E17
monochromatic
#061325 #0E2F59 #174A8E #2065C3 #3F84E0

Accessibility & contrast

On white

8.73
#174A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#174A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A8E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A8E#FFFFFF#000000##FFFFFF
##174A8E1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245191
Deuteranopia (green-blind)
#01468D
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #174a8e;
/* rgb */ color: rgb(23, 74, 142);
/* oklch */ color: oklch(41.6% 0.125 257.2);
Tailwind
colors: {
  custom: {
    50: '#697baf',
    500: '#174a8e',
    950: '#000000',
  },
}
SCSS
$custom: #174a8e;
$custom-light: #697baf;
$custom-dark: #000000;
JSON
{
  "hex": "#174a8e",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 142
  },
  "hsl": {
    "h": 214.286,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41562,
    "c": 0.12486,
    "h": 257.2
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#174A8E
secondary
#C08A40
accent
#A139EF
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #174A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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