#173794#173794

#173794 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.157 H 264.9°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#173794
RGBrgb(23, 55, 148)
HSLhsl(225, 73%, 34%)
HSVhsv(225, 84%, 58%)
CMYKcmyk(84.5%, 62.8%, 0%, 42%)
CIE-LABlab(26.88, 25.37, -54.17)
CIE-LCHlch(26.88, 59.82, 295.10°)
OKLaboklab(37.92% -0.0139 -0.1568)
OKLCHoklch(37.92% 0.157 264.9)
XYZxyz(7.0629, 5.0518, 28.6141)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173794 #947417
analogous
#177594 #173794 #351794
triadic
#173794 #941737 #379417
tetradic
#173794 #941775 #947417 #179435
square
#173794 #941775 #947417 #179435
split-complementary
#173794 #943517 #759417
monochromatic
#07102A #0F235F #173794 #1F4BC9 #446CE2

Accessibility & contrast

On white

10.44
#173794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#173794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173794
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173794#FFFFFF#000000##FFFFFF
##1737941.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173794;
/* rgb */ color: rgb(23, 55, 148);
/* oklch */ color: oklch(37.9% 0.157 264.9);
Tailwind
colors: {
  custom: {
    50: '#6c6db4',
    500: '#173794',
    950: '#000000',
  },
}
SCSS
$custom: #173794;
$custom-light: #6c6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#173794",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 224.64,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3792,
    "c": 0.1574,
    "h": 264.9
  },
  "luminance": 0.05053
}

Semantic roles & 50–950 ramp

primary
#173794
secondary
#C3A244
accent
#C138F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173794

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

Preview Lab → · Contrast checker → · Palette generator →

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