#174B5F#174B5F

#174B5F is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 38.8% C 0.063 H 227.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#174B5F
RGBrgb(23, 75, 95)
HSLhsl(197, 61%, 23%)
HSVhsv(197, 76%, 37%)
CMYKcmyk(75.8%, 21.1%, 0%, 62.7%)
CIE-LABlab(29.51, -9.66, -16.69)
CIE-LCHlch(29.51, 19.29, 239.95°)
OKLaboklab(38.83% -0.0427 -0.0468)
OKLCHoklch(38.83% 0.063 227.6)
XYZxyz(4.9341, 6.0400, 11.7300)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174B5F #5F2B17
analogous
#175F4F #174B5F #17275F
triadic
#174B5F #5F174B #4B5F17
tetradic
#174B5F #4F175F #5F2B17 #275F17
square
#174B5F #4F175F #5F2B17 #275F17
split-complementary
#174B5F #5F1727 #5F4F17
monochromatic
#061319 #0B242E #174B5F #237290 #2F99C2

Accessibility & contrast

On white

9.51
#174B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#174B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174B5F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174B5F#FFFFFF#000000##FFFFFF
##174B5F1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404A60
Deuteranopia (green-blind)
#37425F
Tritanopia (blue-blind)
#005152
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #174b5f;
/* rgb */ color: rgb(23, 75, 95);
/* oklch */ color: oklch(38.8% 0.063 227.6);
Tailwind
colors: {
  custom: {
    50: '#5f7d8c',
    500: '#174b5f',
    950: '#000000',
  },
}
SCSS
$custom: #174b5f;
$custom-light: #5f7d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#174b5f",
  "rgb": {
    "r": 23,
    "g": 75,
    "b": 95
  },
  "hsl": {
    "h": 196.667,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3883,
    "c": 0.06333,
    "h": 227.6
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#174B5F
secondary
#96553C
accent
#7044E4
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #174B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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