#174D9E#174D9E

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

Color values

HEX#174D9E
RGBrgb(23, 77, 158)
HSLhsl(216, 75%, 35%)
HSVhsv(216, 85%, 62%)
CMYKcmyk(85.4%, 51.3%, 0%, 38%)
CIE-LABlab(33.89, 14.32, -48.85)
CIE-LCHlch(33.89, 50.91, 286.33°)
OKLaboklab(43.47% -0.0273 -0.1407)
OKLCHoklch(43.47% 0.143 259)
XYZxyz(9.1765, 7.9574, 33.3934)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174D9E #9E6817
analogous
#17909E #174D9E #24179E
triadic
#174D9E #9E174D #4D9E17
tetradic
#174D9E #9E1790 #9E6817 #179E24
square
#174D9E #9E1790 #9E6817 #179E24
split-complementary
#174D9E #9E2417 #909E17
monochromatic
#071933 #0F3369 #174D9E #1F67D3 #4B88E5

Accessibility & contrast

On white

8.10
#174D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#174D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174D9E
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174D9E#FFFFFF#000000##FFFFFF
##174D9E1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A1
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #174d9e;
/* rgb */ color: rgb(23, 77, 158);
/* oklch */ color: oklch(43.5% 0.143 259.0);
Tailwind
colors: {
  custom: {
    50: '#6d7ebb',
    500: '#174d9e',
    950: '#000000',
  },
}
SCSS
$custom: #174d9e;
$custom-light: #6d7ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#174d9e",
  "rgb": {
    "r": 23,
    "g": 77,
    "b": 158
  },
  "hsl": {
    "h": 216,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43469,
    "c": 0.14337,
    "h": 259
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #174D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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