#6173EE#6173EE

#6173EE is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.5% C 0.184 H 273.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6173EE
RGBrgb(97, 115, 238)
HSLhsl(232, 81%, 66%)
HSVhsv(232, 59%, 93%)
CMYKcmyk(59.2%, 51.7%, 0%, 6.7%)
CIE-LABlab(52.92, 29.52, -64.25)
CIE-LCHlch(52.92, 70.71, 294.68°)
OKLaboklab(60.55% 0.0108 -0.1841)
OKLCHoklch(60.55% 0.184 273.3)
XYZxyz(26.4880, 20.9738, 83.5249)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173EE #EEDC61
analogous
#61BAEE #6173EE #9561EE
triadic
#6173EE #EE6173 #73EE61
tetradic
#6173EE #EE61BA #EEDC61 #61EE95
square
#6173EE #EE61BA #EEDC61 #61EE95
split-complementary
#6173EE #EE9561 #BAEE61
monochromatic
#152BC0 #2A42E8 #6173EE #98A4F4 #D0D5FA

Accessibility & contrast

On white

4.04
#6173EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#6173EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173EE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173EE#FFFFFF#000000##000000
##6173EE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A85F2
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6173ee;
/* rgb */ color: rgb(97, 115, 238);
/* oklch */ color: oklch(60.5% 0.184 273.3);
Tailwind
colors: {
  custom: {
    50: '#9a9bf4',
    500: '#6173ee',
    950: '#000000',
  },
}
SCSS
$custom: #6173ee;
$custom-light: #9a9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#6173ee",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 238
  },
  "hsl": {
    "h": 232.34,
    "s": 80.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60548,
    "c": 0.18439,
    "h": 273.3
  },
  "luminance": 0.20976
}

Semantic roles & 50–950 ramp

primary
#6173EE
secondary
#EDE7BE
accent
#C209DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6173EE

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

Preview Lab → · Contrast checker → · Palette generator →

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