#174898#174898

#174898 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.141 H 260.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#174898
RGBrgb(23, 72, 152)
HSLhsl(217, 74%, 34%)
HSVhsv(217, 85%, 60%)
CMYKcmyk(84.9%, 52.6%, 0%, 40.4%)
CIE-LABlab(31.99, 15.27, -48.29)
CIE-LCHlch(31.99, 50.65, 287.55°)
OKLaboklab(41.88% -0.0245 -0.1392)
OKLCHoklch(41.88% 0.141 260)
XYZxyz(8.3361, 7.0829, 30.6274)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174898 #986717
analogous
#178998 #174898 #261798
triadic
#174898 #981748 #489817
tetradic
#174898 #981789 #986717 #179826
square
#174898 #981789 #986717 #179826
split-complementary
#174898 #982617 #899817
monochromatic
#07162E #0F2F63 #174898 #1F61CD #4682E3

Accessibility & contrast

On white

8.69
#174898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#174898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174898
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174898#FFFFFF#000000##FFFFFF
##1748981.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #174898;
/* rgb */ color: rgb(23, 72, 152);
/* oklch */ color: oklch(41.9% 0.141 260.0);
Tailwind
colors: {
  custom: {
    50: '#6c7ab7',
    500: '#174898',
    950: '#000000',
  },
}
SCSS
$custom: #174898;
$custom-light: #6c7ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#174898",
  "rgb": {
    "r": 23,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 217.209,
    "s": 73.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41877,
    "c": 0.14136,
    "h": 260
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #174898

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

Preview Lab → · Contrast checker → · Palette generator →

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