#173893#173893

#173893 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.155 H 264.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#173893
RGBrgb(23, 56, 147)
HSLhsl(224, 73%, 33%)
HSVhsv(224, 84%, 58%)
CMYKcmyk(84.4%, 61.9%, 0%, 42.4%)
CIE-LABlab(27.06, 24.29, -53.26)
CIE-LCHlch(27.06, 58.54, 294.51°)
OKLaboklab(38.03% -0.0144 -0.1541)
OKLCHoklch(38.03% 0.155 264.6)
XYZxyz(7.0321, 5.1162, 28.2150)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173893 #937217
analogous
#177693 #173893 #341793
triadic
#173893 #931738 #389317
tetradic
#173893 #931776 #937217 #179334
square
#173893 #931776 #937217 #179334
split-complementary
#173893 #933417 #769317
monochromatic
#061029 #0F245E #173893 #1F4CC8 #436DE2

Accessibility & contrast

On white

10.38
#173893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#173893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173893
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173893#FFFFFF#000000##FFFFFF
##1738931.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173893;
/* rgb */ color: rgb(23, 56, 147);
/* oklch */ color: oklch(38.0% 0.155 264.6);
Tailwind
colors: {
  custom: {
    50: '#6c6eb4',
    500: '#173893',
    950: '#000000',
  },
}
SCSS
$custom: #173893;
$custom-light: #6c6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#173893",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 147
  },
  "hsl": {
    "h": 224.032,
    "s": 72.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38027,
    "c": 0.15478,
    "h": 264.6
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #173893

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

Preview Lab → · Contrast checker → · Palette generator →

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