#173A93#173A93

#173A93 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.152 H 264.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#173A93
RGBrgb(23, 58, 147)
HSLhsl(223, 73%, 33%)
HSVhsv(223, 84%, 58%)
CMYKcmyk(84.4%, 60.5%, 0%, 42.4%)
CIE-LABlab(27.61, 22.90, -52.37)
CIE-LCHlch(27.61, 57.16, 293.62°)
OKLaboklab(38.44% -0.0156 -0.1514)
OKLCHoklch(38.44% 0.152 264.1)
XYZxyz(7.1310, 5.3140, 28.2480)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A93 #937017
analogous
#177893 #173A93 #321793
triadic
#173A93 #93173A #3A9317
tetradic
#173A93 #931778 #937017 #179332
square
#173A93 #931778 #937017 #179332
split-complementary
#173A93 #933217 #789317
monochromatic
#061029 #0F255E #173A93 #1F4FC8 #4370E2

Accessibility & contrast

On white

10.18
#173A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#173A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A93
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A93#FFFFFF#000000##FFFFFF
##173A931.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #173a93;
/* rgb */ color: rgb(23, 58, 147);
/* oklch */ color: oklch(38.4% 0.152 264.1);
Tailwind
colors: {
  custom: {
    50: '#6c6fb3',
    500: '#173a93',
    950: '#000000',
  },
}
SCSS
$custom: #173a93;
$custom-light: #6c6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#173a93",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 147
  },
  "hsl": {
    "h": 223.065,
    "s": 72.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38437,
    "c": 0.15226,
    "h": 264.1
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#173A93
secondary
#C29E44
accent
#BC38F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173A93

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

Preview Lab → · Contrast checker → · Palette generator →

#173A93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva