#173894#173894

#173894 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.156 H 264.7°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#173894
RGBrgb(23, 56, 148)
HSLhsl(224, 73%, 34%)
HSVhsv(224, 84%, 58%)
CMYKcmyk(84.5%, 62.2%, 0%, 42%)
CIE-LABlab(27.15, 24.69, -53.73)
CIE-LCHlch(27.15, 59.13, 294.68°)
OKLaboklab(38.12% -0.0144 -0.1555)
OKLCHoklch(38.12% 0.156 264.7)
XYZxyz(7.1109, 5.1478, 28.6301)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173894 #947317
analogous
#177694 #173894 #341794
triadic
#173894 #941738 #389417
tetradic
#173894 #941776 #947317 #179434
square
#173894 #941776 #947317 #179434
split-complementary
#173894 #943417 #769417
monochromatic
#07102A #0F245F #173894 #1F4CC9 #446DE2

Accessibility & contrast

On white

10.35
#173894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#173894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173894
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173894#FFFFFF#000000##FFFFFF
##1738941.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173894;
/* rgb */ color: rgb(23, 56, 148);
/* oklch */ color: oklch(38.1% 0.156 264.7);
Tailwind
colors: {
  custom: {
    50: '#6c6eb4',
    500: '#173894',
    950: '#000000',
  },
}
SCSS
$custom: #173894;
$custom-light: #6c6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#173894",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 224.16,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3812,
    "c": 0.15615,
    "h": 264.7
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#173894
secondary
#C3A144
accent
#BF38F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173894

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

Preview Lab → · Contrast checker → · Palette generator →

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