#174794#174794

#174794 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.137 H 259.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#174794
RGBrgb(23, 71, 148)
HSLhsl(217, 73%, 34%)
HSVhsv(217, 84%, 58%)
CMYKcmyk(84.5%, 52%, 0%, 42%)
CIE-LABlab(31.41, 14.32, -46.81)
CIE-LCHlch(31.41, 48.95, 287.01°)
OKLaboklab(41.34% -0.0243 -0.1349)
OKLCHoklch(41.34% 0.137 259.8)
XYZxyz(7.9499, 6.8258, 28.9097)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174794 #946417
analogous
#178594 #174794 #251794
triadic
#174794 #941747 #479417
tetradic
#174794 #941785 #946417 #179425
square
#174794 #941785 #946417 #179425
split-complementary
#174794 #942517 #859417
monochromatic
#07142A #0F2E5F #174794 #1F60C9 #4480E2

Accessibility & contrast

On white

8.88
#174794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#174794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174794
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174794#FFFFFF#000000##FFFFFF
##1747941.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145097
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #174794;
/* rgb */ color: rgb(23, 71, 148);
/* oklch */ color: oklch(41.3% 0.137 259.8);
Tailwind
colors: {
  custom: {
    50: '#6b79b4',
    500: '#174794',
    950: '#000000',
  },
}
SCSS
$custom: #174794;
$custom-light: #6b79b4;
$custom-dark: #000000;
JSON
{
  "hex": "#174794",
  "rgb": {
    "r": 23,
    "g": 71,
    "b": 148
  },
  "hsl": {
    "h": 216.96,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41335,
    "c": 0.13705,
    "h": 259.8
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#174794
secondary
#C39244
accent
#A938F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #174794

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

Preview Lab → · Contrast checker → · Palette generator →

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