#174A8B#174A8B

#174A8B is a dark, vivid cyan. Relative luminance 0.069; OKLCH L 41.3% C 0.121 H 256.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#174A8B
RGBrgb(23, 74, 139)
HSLhsl(214, 72%, 32%)
HSVhsv(214, 83%, 55%)
CMYKcmyk(83.5%, 46.8%, 0%, 45.5%)
CIE-LABlab(31.68, 8.58, -40.87)
CIE-LCHlch(31.68, 41.76, 281.86°)
OKLaboklab(41.34% -0.0282 -0.1173)
OKLCHoklch(41.34% 0.121 256.5)
XYZxyz(7.4606, 6.9429, 25.3680)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A8B #8B5817
analogous
#17848B #174A8B #1E178B
triadic
#174A8B #8B174A #4A8B17
tetradic
#174A8B #8B1784 #8B5817 #178B1E
square
#174A8B #8B1784 #8B5817 #178B1E
split-complementary
#174A8B #8B1E17 #848B17
monochromatic
#061222 #0E2E56 #174A8B #2066C0 #3D84DF

Accessibility & contrast

On white

8.79
#174A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#174A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A8B
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A8B#FFFFFF#000000##FFFFFF
##174A8B1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#0B468A
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #174a8b;
/* rgb */ color: rgb(23, 74, 139);
/* oklch */ color: oklch(41.3% 0.121 256.5);
Tailwind
colors: {
  custom: {
    50: '#697bad',
    500: '#174a8b',
    950: '#000000',
  },
}
SCSS
$custom: #174a8b;
$custom-light: #697bad;
$custom-dark: #000000;
JSON
{
  "hex": "#174a8b",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 139
  },
  "hsl": {
    "h": 213.621,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.12066,
    "h": 256.5
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

primary
#174A8B
secondary
#BF873F
accent
#9F39EE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #174A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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