#173993#173993

#173993 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.154 H 264.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#173993
RGBrgb(23, 57, 147)
HSLhsl(224, 73%, 33%)
HSVhsv(224, 84%, 58%)
CMYKcmyk(84.4%, 61.2%, 0%, 42.4%)
CIE-LABlab(27.34, 23.60, -52.81)
CIE-LCHlch(27.34, 57.85, 294.07°)
OKLaboklab(38.23% -0.015 -0.1528)
OKLCHoklch(38.23% 0.154 264.4)
XYZxyz(7.0811, 5.2141, 28.2313)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173993 #937117
analogous
#177793 #173993 #331793
triadic
#173993 #931739 #399317
tetradic
#173993 #931777 #937117 #179333
square
#173993 #931777 #937117 #179333
split-complementary
#173993 #933317 #779317
monochromatic
#061029 #0F245E #173993 #1F4EC8 #436EE2

Accessibility & contrast

On white

10.28
#173993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#173993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173993
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173993#FFFFFF#000000##FFFFFF
##1739931.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173993;
/* rgb */ color: rgb(23, 57, 147);
/* oklch */ color: oklch(38.2% 0.154 264.4);
Tailwind
colors: {
  custom: {
    50: '#6c6eb4',
    500: '#173993',
    950: '#000000',
  },
}
SCSS
$custom: #173993;
$custom-light: #6c6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#173993",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 147
  },
  "hsl": {
    "h": 223.548,
    "s": 72.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38231,
    "c": 0.15352,
    "h": 264.4
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

primary
#173993
secondary
#C2A044
accent
#BD38F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173993

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

Preview Lab → · Contrast checker → · Palette generator →

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