#174798#174798

#174798 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.143 H 260.4°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#174798
RGBrgb(23, 71, 152)
HSLhsl(218, 74%, 34%)
HSVhsv(218, 85%, 60%)
CMYKcmyk(84.9%, 53.3%, 0%, 40.4%)
CIE-LABlab(31.70, 15.96, -48.77)
CIE-LCHlch(31.70, 51.31, 288.12°)
OKLaboklab(41.66% -0.0238 -0.1406)
OKLCHoklch(41.66% 0.143 260.4)
XYZxyz(8.2720, 6.9546, 30.6061)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174798 #986817
analogous
#178898 #174798 #271798
triadic
#174798 #981747 #479817
tetradic
#174798 #981788 #986817 #179827
square
#174798 #981788 #986817 #179827
split-complementary
#174798 #982717 #889817
monochromatic
#07152E #0F2E63 #174798 #1F60CD #4681E3

Accessibility & contrast

On white

8.78
#174798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#174798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174798
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174798#FFFFFF#000000##FFFFFF
##1747981.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B519B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #174798;
/* rgb */ color: rgb(23, 71, 152);
/* oklch */ color: oklch(41.7% 0.143 260.4);
Tailwind
colors: {
  custom: {
    50: '#6c79b7',
    500: '#174798',
    950: '#000000',
  },
}
SCSS
$custom: #174798;
$custom-light: #6c79b7;
$custom-dark: #000000;
JSON
{
  "hex": "#174798",
  "rgb": {
    "r": 23,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 217.674,
    "s": 73.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41655,
    "c": 0.14262,
    "h": 260.4
  },
  "luminance": 0.06956
}

Semantic roles & 50–950 ramp

primary
#174798
secondary
#C49547
accent
#AC37F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #174798

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

Preview Lab → · Contrast checker → · Palette generator →

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