#174D9D#174D9D

#174D9D is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.142 H 258.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#174D9D
RGBrgb(23, 77, 157)
HSLhsl(216, 74%, 35%)
HSVhsv(216, 85%, 62%)
CMYKcmyk(85.4%, 51%, 0%, 38.4%)
CIE-LABlab(33.82, 13.91, -48.36)
CIE-LCHlch(33.82, 50.32, 286.05°)
OKLaboklab(43.39% -0.0275 -0.1393)
OKLCHoklch(43.39% 0.142 258.8)
XYZxyz(9.0908, 7.9231, 32.9419)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D9D #9D6717
analogous
#17909D #174D9D #24179D
triadic
#174D9D #9D174D #4D9D17
tetradic
#174D9D #9D1790 #9D6717 #179D24
square
#174D9D #9D1790 #9D6717 #179D24
split-complementary
#174D9D #9D2417 #909D17
monochromatic
#071932 #0F3368 #174D9D #1F67D2 #4A88E4

Accessibility & contrast

On white

8.12
#174D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#174D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174D9D
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D9D#FFFFFF#000000##FFFFFF
##174D9D1.008.122.588.12
#FFFFFF8.121.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #174d9d;
/* rgb */ color: rgb(23, 77, 157);
/* oklch */ color: oklch(43.4% 0.142 258.8);
Tailwind
colors: {
  custom: {
    50: '#6d7eba',
    500: '#174d9d',
    950: '#000000',
  },
}
SCSS
$custom: #174d9d;
$custom-light: #6d7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#174d9d",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 215.821,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.14199,
    "h": 258.8
  },
  "luminance": 0.07924
}

Semantic roles & 50–950 ramp

primary
#174D9D
secondary
#C6944A
accent
#A637F1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #174D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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