#173394#173394

#173394 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.162 H 265.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#173394
RGBrgb(23, 51, 148)
HSLhsl(227, 73%, 34%)
HSVhsv(227, 84%, 58%)
CMYKcmyk(84.5%, 65.5%, 0%, 42%)
CIE-LABlab(25.82, 28.11, -55.90)
CIE-LCHlch(25.82, 62.57, 296.69°)
OKLaboklab(37.14% -0.0117 -0.1619)
OKLCHoklch(37.14% 0.162 265.9)
XYZxyz(6.8806, 4.6871, 28.5533)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173394 #947817
analogous
#177194 #173394 #391794
triadic
#173394 #941733 #339417
tetradic
#173394 #941771 #947817 #179439
square
#173394 #941771 #947817 #179439
split-complementary
#173394 #943917 #719417
monochromatic
#070E2A #0F215F #173394 #1F45C9 #4467E2

Accessibility & contrast

On white

10.84
#173394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#173394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173394
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173394#FFFFFF#000000##FFFFFF
##1733941.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173394;
/* rgb */ color: rgb(23, 51, 148);
/* oklch */ color: oklch(37.1% 0.162 265.9);
Tailwind
colors: {
  custom: {
    50: '#6d6ab4',
    500: '#173394',
    950: '#000000',
  },
}
SCSS
$custom: #173394;
$custom-light: #6d6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#173394",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 148
  },
  "hsl": {
    "h": 226.56,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37136,
    "c": 0.16233,
    "h": 265.9
  },
  "luminance": 0.04688
}

Semantic roles & 50–950 ramp

primary
#173394
secondary
#C3A644
accent
#C738F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #173394

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

Preview Lab → · Contrast checker → · Palette generator →

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