#174796#174796

#174796 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.140 H 260.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#174796
RGBrgb(23, 71, 150)
HSLhsl(217, 73%, 34%)
HSVhsv(217, 85%, 59%)
CMYKcmyk(84.7%, 52.7%, 0%, 41.2%)
CIE-LABlab(31.55, 15.14, -47.79)
CIE-LCHlch(31.55, 50.13, 287.58°)
OKLaboklab(41.49% -0.0241 -0.1377)
OKLCHoklch(41.49% 0.14 260.1)
XYZxyz(8.1096, 6.8896, 29.7507)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174796 #966617
analogous
#178796 #174796 #271796
triadic
#174796 #961747 #479617
tetradic
#174796 #961787 #966617 #179627
square
#174796 #961787 #966617 #179627
split-complementary
#174796 #962717 #879617
monochromatic
#07152C #0F2E61 #174796 #1F60CB #4580E2

Accessibility & contrast

On white

8.83
#174796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#174796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174796
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174796#FFFFFF#000000##FFFFFF
##1747961.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105099
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #174796;
/* rgb */ color: rgb(23, 71, 150);
/* oklch */ color: oklch(41.5% 0.140 260.1);
Tailwind
colors: {
  custom: {
    50: '#6c79b5',
    500: '#174796',
    950: '#000000',
  },
}
SCSS
$custom: #174796;
$custom-light: #6c79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#174796",
  "rgb": {
    "r": 23,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 217.323,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41494,
    "c": 0.13984,
    "h": 260.1
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#174796
secondary
#C39445
accent
#AA38F0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #174796

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

Preview Lab → · Contrast checker → · Palette generator →

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