#173694#173694

#173694 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.159 H 265.2°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#173694
RGBrgb(23, 54, 148)
HSLhsl(225, 73%, 34%)
HSVhsv(225, 84%, 58%)
CMYKcmyk(84.5%, 63.5%, 0%, 42%)
CIE-LABlab(26.61, 26.06, -54.61)
CIE-LCHlch(26.61, 60.51, 295.51°)
OKLaboklab(37.72% -0.0133 -0.1581)
OKLCHoklch(37.72% 0.159 265.2)
XYZxyz(7.0159, 4.9578, 28.5984)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173694 #947517
analogous
#177494 #173694 #361794
triadic
#173694 #941736 #369417
tetradic
#173694 #941774 #947517 #179436
square
#173694 #941774 #947517 #179436
split-complementary
#173694 #943617 #749417
monochromatic
#070F2A #0F235F #173694 #1F49C9 #446BE2

Accessibility & contrast

On white

10.54
#173694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#173694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173694
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173694#FFFFFF#000000##FFFFFF
##1736941.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173694;
/* rgb */ color: rgb(23, 54, 148);
/* oklch */ color: oklch(37.7% 0.159 265.2);
Tailwind
colors: {
  custom: {
    50: '#6c6cb4',
    500: '#173694',
    950: '#000000',
  },
}
SCSS
$custom: #173694;
$custom-light: #6c6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#173694",
  "rgb": {
    "r": 23,
    "g": 54,
    "b": 148
  },
  "hsl": {
    "h": 225.12,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37721,
    "c": 0.15865,
    "h": 265.2
  },
  "luminance": 0.04959
}

Semantic roles & 50–950 ramp

primary
#173694
secondary
#C3A344
accent
#C238F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173694

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

Preview Lab → · Contrast checker → · Palette generator →

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