#174792#174792

#174792 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.134 H 259.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#174792
RGBrgb(23, 71, 146)
HSLhsl(217, 73%, 33%)
HSVhsv(217, 84%, 57%)
CMYKcmyk(84.2%, 51.4%, 0%, 42.7%)
CIE-LABlab(31.26, 13.50, -45.82)
CIE-LCHlch(31.26, 47.77, 286.42°)
OKLaboklab(41.18% -0.0246 -0.132)
OKLCHoklch(41.18% 0.134 259.4)
XYZxyz(7.7930, 6.7630, 28.0832)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174792 #926217
analogous
#178492 #174792 #241792
triadic
#174792 #921747 #479217
tetradic
#174792 #921784 #926217 #179224
square
#174792 #921784 #926217 #179224
split-complementary
#174792 #922417 #849217
monochromatic
#061428 #0F2D5D #174792 #1F61C7 #4280E1

Accessibility & contrast

On white

8.93
#174792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#174792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174792
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174792#FFFFFF#000000##FFFFFF
##1747921.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F95
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #174792;
/* rgb */ color: rgb(23, 71, 146);
/* oklch */ color: oklch(41.2% 0.134 259.4);
Tailwind
colors: {
  custom: {
    50: '#6b79b2',
    500: '#174792',
    950: '#000000',
  },
}
SCSS
$custom: #174792;
$custom-light: #6b79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#174792",
  "rgb": {
    "r": 23,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 216.585,
    "s": 72.781,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41177,
    "c": 0.13425,
    "h": 259.4
  },
  "luminance": 0.06764
}

Semantic roles & 50–950 ramp

primary
#174792
secondary
#C29043
accent
#A838EF
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080911
muted
#7A7B80

Preview Lab

Preview with #174792

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

Preview Lab → · Contrast checker → · Palette generator →

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