#174998#174998

#174998 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.140 H 259.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#174998
RGBrgb(23, 73, 152)
HSLhsl(217, 74%, 34%)
HSVhsv(217, 85%, 60%)
CMYKcmyk(84.9%, 52%, 0%, 40.4%)
CIE-LABlab(32.29, 14.59, -47.82)
CIE-LCHlch(32.29, 50.00, 286.97°)
OKLaboklab(42.1% -0.0253 -0.1378)
OKLCHoklch(42.1% 0.14 259.6)
XYZxyz(8.4013, 7.2132, 30.6492)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174998 #986617
analogous
#178A98 #174998 #261798
triadic
#174998 #981749 #499817
tetradic
#174998 #98178A #986617 #179826
square
#174998 #98178A #986617 #179826
split-complementary
#174998 #982617 #8A9817
monochromatic
#07162E #0F2F63 #174998 #1F63CD #4683E3

Accessibility & contrast

On white

8.60
#174998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174998
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174998#FFFFFF#000000##FFFFFF
##1749981.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #174998;
/* rgb */ color: rgb(23, 73, 152);
/* oklch */ color: oklch(42.1% 0.140 259.6);
Tailwind
colors: {
  custom: {
    50: '#6c7bb7',
    500: '#174998',
    950: '#000000',
  },
}
SCSS
$custom: #174998;
$custom-light: #6c7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#174998",
  "rgb": {
    "r": 23,
    "g": 73,
    "b": 152
  },
  "hsl": {
    "h": 216.744,
    "s": 73.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42101,
    "c": 0.14009,
    "h": 259.6
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#174998
secondary
#C49447
accent
#A937F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #174998

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

Preview Lab → · Contrast checker → · Palette generator →

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