#174A8F#174A8F

#174A8F is a dark, vivid cyan. Relative luminance 0.071; OKLCH L 41.6% C 0.126 H 257.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#174A8F
RGBrgb(23, 74, 143)
HSLhsl(215, 72%, 33%)
HSVhsv(215, 84%, 56%)
CMYKcmyk(83.9%, 48.3%, 0%, 43.9%)
CIE-LABlab(31.95, 10.22, -42.88)
CIE-LCHlch(31.95, 44.08, 283.41°)
OKLaboklab(41.64% -0.0275 -0.1232)
OKLCHoklch(41.64% 0.126 257.4)
XYZxyz(7.7582, 7.0619, 26.9355)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A8F #8F5C17
analogous
#17868F #174A8F #20178F
triadic
#174A8F #8F174A #4A8F17
tetradic
#174A8F #8F1786 #8F5C17 #178F20
square
#174A8F #8F1786 #8F5C17 #178F20
split-complementary
#174A8F #8F2017 #868F17
monochromatic
#061326 #0F2F5A #174A8F #1F65C4 #4084E0

Accessibility & contrast

On white

8.70
#174A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174A8F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A8F#FFFFFF#000000##FFFFFF
##174A8F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #174a8f;
/* rgb */ color: rgb(23, 74, 143);
/* oklch */ color: oklch(41.6% 0.126 257.4);
Tailwind
colors: {
  custom: {
    50: '#6a7bb0',
    500: '#174a8f',
    950: '#000000',
  },
}
SCSS
$custom: #174a8f;
$custom-light: #6a7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#174a8f",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 214.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41637,
    "c": 0.12626,
    "h": 257.4
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#174A8F
secondary
#C18A41
accent
#A239EF
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #174A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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