#174997#174997

#174997 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.139 H 259.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#174997
RGBrgb(23, 73, 151)
HSLhsl(217, 74%, 34%)
HSVhsv(217, 85%, 59%)
CMYKcmyk(84.8%, 51.7%, 0%, 40.8%)
CIE-LABlab(32.21, 14.18, -47.33)
CIE-LCHlch(32.21, 49.41, 286.68°)
OKLaboklab(42.02% -0.0254 -0.1363)
OKLCHoklch(42.02% 0.139 259.4)
XYZxyz(8.3198, 7.1806, 30.2197)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174997 #976517
analogous
#178997 #174997 #251797
triadic
#174997 #971749 #499717
tetradic
#174997 #971789 #976517 #179725
square
#174997 #971789 #976517 #179725
split-complementary
#174997 #972517 #899717
monochromatic
#07162D #0F2F62 #174997 #1F63CC #4683E3

Accessibility & contrast

On white

8.62
#174997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#174997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174997
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174997#FFFFFF#000000##FFFFFF
##1749971.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #174997;
/* rgb */ color: rgb(23, 73, 151);
/* oklch */ color: oklch(42.0% 0.139 259.4);
Tailwind
colors: {
  custom: {
    50: '#6c7bb6',
    500: '#174997',
    950: '#000000',
  },
}
SCSS
$custom: #174997;
$custom-light: #6c7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#174997",
  "rgb": {
    "r": 23,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 216.563,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42022,
    "c": 0.1387,
    "h": 259.4
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#174997
secondary
#C49346
accent
#A838F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #174997

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

Preview Lab → · Contrast checker → · Palette generator →

#174997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva