#174D9F#174D9F

#174D9F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.145 H 259.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#174D9F
RGBrgb(23, 77, 159)
HSLhsl(216, 75%, 36%)
HSVhsv(216, 86%, 62%)
CMYKcmyk(85.5%, 51.6%, 0%, 37.6%)
CIE-LABlab(33.97, 14.72, -49.34)
CIE-LCHlch(33.97, 51.49, 286.62°)
OKLaboklab(43.55% -0.0272 -0.1422)
OKLCHoklch(43.55% 0.145 259.2)
XYZxyz(9.2629, 7.9920, 33.8486)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D9F #9F6917
analogous
#17919F #174D9F #25179F
triadic
#174D9F #9F174D #4D9F17
tetradic
#174D9F #9F1791 #9F6917 #179F25
square
#174D9F #9F1791 #9F6917 #179F25
split-complementary
#174D9F #9F2517 #919F17
monochromatic
#081934 #0F336A #174D9F #1F67D4 #4B88E5

Accessibility & contrast

On white

8.08
#174D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#174D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174D9F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D9F#FFFFFF#000000##FFFFFF
##174D9F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1756A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #174d9f;
/* rgb */ color: rgb(23, 77, 159);
/* oklch */ color: oklch(43.5% 0.145 259.2);
Tailwind
colors: {
  custom: {
    50: '#6e7ebc',
    500: '#174d9f',
    950: '#000000',
  },
}
SCSS
$custom: #174d9f;
$custom-light: #6e7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#174d9f",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 216.176,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43547,
    "c": 0.14475,
    "h": 259.2
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#174D9F
secondary
#C7964B
accent
#A736F1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #174D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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