#7173BB#7173BB

#7173BB is a mid, moderate blue. Relative luminance 0.194; OKLCH L 58.5% C 0.109 H 281.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7173BB
RGBrgb(113, 115, 187)
HSLhsl(238, 35%, 59%)
HSVhsv(238, 40%, 73%)
CMYKcmyk(39.6%, 38.5%, 0%, 26.7%)
CIE-LABlab(51.10, 17.32, -38.18)
CIE-LCHlch(51.10, 41.92, 294.40°)
OKLaboklab(58.51% 0.0213 -0.1073)
OKLCHoklch(58.51% 0.109 281.2)
XYZxyz(21.9078, 19.3592, 49.5865)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7173BB #BBB971
analogous
#7198BB #7173BB #9471BB
triadic
#7173BB #BB7173 #73BB71
tetradic
#7173BB #BB7198 #BBB971 #71BB94
square
#7173BB #BB7198 #BBB971 #71BB94
split-complementary
#7173BB #BB9471 #98BB71
monochromatic
#3A3B78 #4D50A1 #7173BB #9A9CCF #C4C5E3

Accessibility & contrast

On white

4.31
#7173BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7173BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7173BB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7173BB#FFFFFF#000000##000000
##7173BB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBE
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#5B818E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7173bb;
/* rgb */ color: rgb(113, 115, 187);
/* oklch */ color: oklch(58.5% 0.109 281.2);
Tailwind
colors: {
  custom: {
    50: '#9d9bd0',
    500: '#7173bb',
    950: '#000000',
  },
}
SCSS
$custom: #7173bb;
$custom-light: #9d9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7173bb",
  "rgb": {
    "r": 113,
    "g": 115,
    "b": 187
  },
  "hsl": {
    "h": 238.378,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5851,
    "c": 0.10937,
    "h": 281.2
  },
  "luminance": 0.1936
}

Semantic roles & 50–950 ramp

primary
#7173BB
secondary
#D2D2B5
accent
#C85DCB
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #7173BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7173BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva