#174C9D#174C9D

#174C9D is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.143 H 259.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#174C9D
RGBrgb(23, 76, 157)
HSLhsl(216, 74%, 35%)
HSVhsv(216, 85%, 62%)
CMYKcmyk(85.4%, 51.6%, 0%, 38.4%)
CIE-LABlab(33.53, 14.59, -48.84)
CIE-LCHlch(33.53, 50.97, 286.63°)
OKLaboklab(43.17% -0.0267 -0.1407)
OKLCHoklch(43.17% 0.143 259.2)
XYZxyz(9.0214, 7.7842, 32.9188)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174C9D #9D6817
analogous
#178F9D #174C9D #25179D
triadic
#174C9D #9D174C #4C9D17
tetradic
#174C9D #9D178F #9D6817 #179D25
square
#174C9D #9D178F #9D6817 #179D25
split-complementary
#174C9D #9D2517 #8F9D17
monochromatic
#071832 #0F3268 #174C9D #1F66D2 #4A87E4

Accessibility & contrast

On white

8.21
#174C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#174C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174C9D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174C9D#FFFFFF#000000##FFFFFF
##174C9D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1755A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #174c9d;
/* rgb */ color: rgb(23, 76, 157);
/* oklch */ color: oklch(43.2% 0.143 259.2);
Tailwind
colors: {
  custom: {
    50: '#6d7dba',
    500: '#174c9d',
    950: '#000000',
  },
}
SCSS
$custom: #174c9d;
$custom-light: #6d7dba;
$custom-dark: #000000;
JSON
{
  "hex": "#174c9d",
  "rgb": {
    "r": 23,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 216.269,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43167,
    "c": 0.14324,
    "h": 259.2
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#174C9D
secondary
#C6954A
accent
#A737F1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #174C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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