#174A97#174A97

#174A97 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.137 H 259.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#174A97
RGBrgb(23, 74, 151)
HSLhsl(216, 74%, 34%)
HSVhsv(216, 85%, 59%)
CMYKcmyk(84.8%, 51%, 0%, 40.8%)
CIE-LABlab(32.51, 13.50, -46.85)
CIE-LCHlch(32.51, 48.76, 286.07°)
OKLaboklab(42.25% -0.0261 -0.1349)
OKLCHoklch(42.25% 0.137 259)
XYZxyz(8.3860, 7.3130, 30.2417)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A97 #976417
analogous
#178A97 #174A97 #241797
triadic
#174A97 #97174A #4A9717
tetradic
#174A97 #97178A #976417 #179724
square
#174A97 #97178A #976417 #179724
split-complementary
#174A97 #972417 #8A9717
monochromatic
#07162D #0F3062 #174A97 #1F64CC #4684E3

Accessibility & contrast

On white

8.53
#174A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#174A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A97
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A97#FFFFFF#000000##FFFFFF
##174A971.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #174a97;
/* rgb */ color: rgb(23, 74, 151);
/* oklch */ color: oklch(42.2% 0.137 259.0);
Tailwind
colors: {
  custom: {
    50: '#6c7bb6',
    500: '#174a97',
    950: '#000000',
  },
}
SCSS
$custom: #174a97;
$custom-light: #6c7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#174a97",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 216.094,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42248,
    "c": 0.13744,
    "h": 259
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

primary
#174A97
secondary
#C49246
accent
#A738F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #174A97

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

Preview Lab → · Contrast checker → · Palette generator →

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