#174A7E#174A7E

#174A7E is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.4% C 0.102 H 252.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#174A7E
RGBrgb(23, 74, 126)
HSLhsl(210, 69%, 29%)
HSVhsv(210, 82%, 49%)
CMYKcmyk(81.7%, 41.3%, 0%, 50.6%)
CIE-LABlab(30.84, 3.25, -34.16)
CIE-LCHlch(30.84, 34.32, 275.44°)
OKLaboklab(40.42% -0.0312 -0.0976)
OKLCHoklch(40.42% 0.102 252.3)
XYZxyz(6.5666, 6.5853, 20.6596)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A7E #7E4B17
analogous
#177E7E #174A7E #17177E
triadic
#174A7E #7E174A #4A7E17
tetradic
#174A7E #7E177E #7E4B17 #177E17
square
#174A7E #7E177E #7E4B17 #177E17
split-complementary
#174A7E #7E1717 #7E7E17
monochromatic
#050F1A #0E2C4A #174A7E #2068B2 #3587DA

Accessibility & contrast

On white

9.06
#174A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#174A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A7E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A7E#FFFFFF#000000##FFFFFF
##174A7E1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E80
Deuteranopia (green-blind)
#20447D
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #174a7e;
/* rgb */ color: rgb(23, 74, 126);
/* oklch */ color: oklch(40.4% 0.102 252.3);
Tailwind
colors: {
  custom: {
    50: '#667ca4',
    500: '#174a7e',
    950: '#000000',
  },
}
SCSS
$custom: #174a7e;
$custom-light: #667ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#174a7e",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 126
  },
  "hsl": {
    "h": 210.291,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40424,
    "c": 0.10246,
    "h": 252.3
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#174A7E
secondary
#B3793E
accent
#953CEC
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #174A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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