#174C9E#174C9E

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

Color values

HEX#174C9E
RGBrgb(23, 76, 158)
HSLhsl(216, 75%, 35%)
HSVhsv(216, 85%, 62%)
CMYKcmyk(85.4%, 51.9%, 0%, 38%)
CIE-LABlab(33.60, 15.00, -49.32)
CIE-LCHlch(33.60, 51.55, 286.91°)
OKLaboklab(43.25% -0.0266 -0.1421)
OKLCHoklch(43.25% 0.145 259.4)
XYZxyz(9.1071, 7.8185, 33.3703)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174C9E #9E6917
analogous
#17909E #174C9E #25179E
triadic
#174C9E #9E174C #4C9E17
tetradic
#174C9E #9E1790 #9E6917 #179E25
square
#174C9E #9E1790 #9E6917 #179E25
split-complementary
#174C9E #9E2517 #909E17
monochromatic
#071933 #0F3269 #174C9E #1F66D3 #4B87E5

Accessibility & contrast

On white

8.19
#174C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174C9E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174C9E#FFFFFF#000000##FFFFFF
##174C9E1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1555A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #174c9e;
/* rgb */ color: rgb(23, 76, 158);
/* oklch */ color: oklch(43.2% 0.145 259.4);
Tailwind
colors: {
  custom: {
    50: '#6e7dbb',
    500: '#174c9e',
    950: '#000000',
  },
}
SCSS
$custom: #174c9e;
$custom-light: #6e7dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#174c9e",
  "rgb": {
    "r": 23,
    "g": 76,
    "b": 158
  },
  "hsl": {
    "h": 216.444,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43246,
    "c": 0.14462,
    "h": 259.4
  },
  "luminance": 0.0782
}

Semantic roles & 50–950 ramp

primary
#174C9E
secondary
#C6964A
accent
#A837F1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #174C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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