#7173CB#7173CB

#7173CB is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.4% C 0.132 H 280.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7173CB
RGBrgb(113, 115, 203)
HSLhsl(239, 46%, 62%)
HSVhsv(239, 44%, 80%)
CMYKcmyk(44.3%, 43.3%, 0%, 20.4%)
CIE-LABlab(51.93, 21.98, -46.04)
CIE-LCHlch(51.93, 51.01, 295.52°)
OKLaboklab(59.41% 0.0243 -0.1302)
OKLCHoklch(59.41% 0.132 280.6)
XYZxyz(23.7171, 20.0829, 59.1150)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7173CB #CBC971
analogous
#71A0CB #7173CB #9C71CB
triadic
#7173CB #CB7173 #73CB71
tetradic
#7173CB #CB71A0 #CBC971 #71CB9C
square
#7173CB #CB71A0 #CBC971 #71CB9C
split-complementary
#7173CB #CB9C71 #A0CB71
monochromatic
#34368E #4447BB #7173CB #9E9FDB #CBCBEC

Accessibility & contrast

On white

4.19
#7173CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7173CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7173CB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7173CB#FFFFFF#000000##000000
##7173CB1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#4C79C9
Tritanopia (blue-blind)
#538595
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7173cb;
/* rgb */ color: rgb(113, 115, 203);
/* oklch */ color: oklch(59.4% 0.132 280.6);
Tailwind
colors: {
  custom: {
    50: '#9e9bdb',
    500: '#7173cb',
    950: '#000000',
  },
}
SCSS
$custom: #7173cb;
$custom-light: #9e9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7173cb",
  "rgb": {
    "r": 113,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 238.667,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5941,
    "c": 0.13245,
    "h": 280.6
  },
  "luminance": 0.20084
}

Semantic roles & 50–950 ramp

primary
#7173CB
secondary
#DCDCBB
accent
#B62CBA
background
#FAF9FD
surface
#F3F2FB
border
#CDCCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7173CB

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

Preview Lab → · Contrast checker → · Palette generator →

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