#174A7F#174A7F

#174A7F is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.5% C 0.104 H 252.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#174A7F
RGBrgb(23, 74, 127)
HSLhsl(211, 69%, 29%)
HSVhsv(211, 82%, 50%)
CMYKcmyk(81.9%, 41.7%, 0%, 50.2%)
CIE-LABlab(30.90, 3.66, -34.69)
CIE-LCHlch(30.90, 34.88, 276.03°)
OKLaboklab(40.49% -0.0309 -0.0991)
OKLCHoklch(40.49% 0.104 252.7)
XYZxyz(6.6315, 6.6112, 21.0011)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A7F #7F4C17
analogous
#177E7F #174A7F #18177F
triadic
#174A7F #7F174A #4A7F17
tetradic
#174A7F #7F177E #7F4C17 #177F18
square
#174A7F #7F177E #7F4C17 #177F18
split-complementary
#174A7F #7F1817 #7E7F17
monochromatic
#050F1A #0E2C4B #174A7F #2068B3 #3687DB

Accessibility & contrast

On white

9.04
#174A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174A7F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A7F#FFFFFF#000000##FFFFFF
##174A7F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#1F447E
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #174a7f;
/* rgb */ color: rgb(23, 74, 127);
/* oklch */ color: oklch(40.5% 0.104 252.7);
Tailwind
colors: {
  custom: {
    50: '#667ca4',
    500: '#174a7f',
    950: '#000000',
  },
}
SCSS
$custom: #174a7f;
$custom-light: #667ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#174a7f",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 210.577,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40492,
    "c": 0.10385,
    "h": 252.7
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#174A7F
secondary
#B47A3E
accent
#963CEC
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #174A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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