#6173E7#6173E7

#6173E7 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.1% C 0.175 H 273.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6173E7
RGBrgb(97, 115, 231)
HSLhsl(232, 74%, 64%)
HSVhsv(232, 58%, 91%)
CMYKcmyk(58%, 50.2%, 0%, 9.4%)
CIE-LABlab(52.48, 27.24, -61.05)
CIE-LCHlch(52.48, 66.86, 294.04°)
OKLaboklab(60.07% 0.0102 -0.1747)
OKLCHoklch(60.07% 0.175 273.3)
XYZxyz(25.4796, 20.5704, 78.2136)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173E7 #E7D561
analogous
#61B6E7 #6173E7 #9261E7
triadic
#6173E7 #E76173 #73E761
tetradic
#6173E7 #E761B6 #E7D561 #61E792
square
#6173E7 #E761B6 #E7D561 #61E792
split-complementary
#6173E7 #E79261 #B6E761
monochromatic
#1B2FB2 #2C44DF #6173E7 #96A2EF #CBD1F7

Accessibility & contrast

On white

4.11
#6173E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#6173E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173E7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173E7#FFFFFF#000000##000000
##6173E71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3483EB
Deuteranopia (green-blind)
#1878E5
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6173e7;
/* rgb */ color: rgb(97, 115, 231);
/* oklch */ color: oklch(60.1% 0.175 273.3);
Tailwind
colors: {
  custom: {
    50: '#999bef',
    500: '#6173e7',
    950: '#000000',
  },
}
SCSS
$custom: #6173e7;
$custom-light: #999bef;
$custom-dark: #000000;
JSON
{
  "hex": "#6173e7",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 231
  },
  "hsl": {
    "h": 231.94,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6007,
    "c": 0.17497,
    "h": 273.3
  },
  "luminance": 0.20572
}

Semantic roles & 50–950 ramp

primary
#6173E7
secondary
#E9E3BB
accent
#BB10D6
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6173E7

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

Preview Lab → · Contrast checker → · Palette generator →

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