#174A9D#174A9D

#174A9D is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.146 H 260.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#174A9D
RGBrgb(23, 74, 157)
HSLhsl(217, 74%, 35%)
HSVhsv(217, 85%, 62%)
CMYKcmyk(85.4%, 52.9%, 0%, 38.4%)
CIE-LABlab(32.95, 15.95, -49.78)
CIE-LCHlch(32.95, 52.27, 287.76°)
OKLaboklab(42.72% -0.0253 -0.1435)
OKLCHoklch(42.72% 0.146 260)
XYZxyz(8.8857, 7.5129, 32.8736)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A9D #9D6A17
analogous
#178D9D #174A9D #27179D
triadic
#174A9D #9D174A #4A9D17
tetradic
#174A9D #9D178D #9D6A17 #179D27
square
#174A9D #9D178D #9D6A17 #179D27
split-complementary
#174A9D #9D2717 #8D9D17
monochromatic
#071832 #0F3168 #174A9D #1F63D2 #4A85E4

Accessibility & contrast

On white

8.39
#174A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#174A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A9D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A9D#FFFFFF#000000##FFFFFF
##174A9D1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E54A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #174a9d;
/* rgb */ color: rgb(23, 74, 157);
/* oklch */ color: oklch(42.7% 0.146 260.0);
Tailwind
colors: {
  custom: {
    50: '#6d7bbb',
    500: '#174a9d',
    950: '#000000',
  },
}
SCSS
$custom: #174a9d;
$custom-light: #6d7bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#174a9d",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 157
  },
  "hsl": {
    "h": 217.164,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42722,
    "c": 0.14576,
    "h": 260
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#174A9D
secondary
#C6974A
accent
#AA37F1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #174A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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