#6173CC#6173CC

#6173CC is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.3% C 0.138 H 272.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6173CC
RGBrgb(97, 115, 204)
HSLhsl(230, 51%, 59%)
HSVhsv(230, 52%, 80%)
CMYKcmyk(52.5%, 43.6%, 0%, 20%)
CIE-LABlab(50.88, 18.54, -48.35)
CIE-LCHlch(50.88, 51.78, 290.97°)
OKLaboklab(58.34% 0.0068 -0.1373)
OKLCHoklch(58.34% 0.138 272.8)
XYZxyz(21.9561, 19.1610, 59.6565)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173CC #CCBA61
analogous
#61A8CC #6173CC #8561CC
triadic
#6173CC #CC6173 #73CC61
tetradic
#6173CC #CC61A8 #CCBA61 #61CC85
square
#6173CC #CC61A8 #CCBA61 #61CC85
split-complementary
#6173CC #CC8561 #A8CC61
monochromatic
#2C3B87 #3B4FB5 #6173CC #8F9CDB #BEC5EA

Accessibility & contrast

On white

4.35
#6173CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#6173CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173CC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173CC#FFFFFF#000000##000000
##6173CC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ECF
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#2F8695
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6173cc;
/* rgb */ color: rgb(97, 115, 204);
/* oklch */ color: oklch(58.3% 0.138 272.8);
Tailwind
colors: {
  custom: {
    50: '#959bdc',
    500: '#6173cc',
    950: '#000000',
  },
}
SCSS
$custom: #6173cc;
$custom-light: #959bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6173cc",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 229.907,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58338,
    "c": 0.13752,
    "h": 272.8
  },
  "luminance": 0.19162
}

Semantic roles & 50–950 ramp

primary
#6173CC
secondary
#D9D2AF
accent
#C34DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6173CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6173CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva