#6173ED#6173ED

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

Color values

HEX#6173ED
RGBrgb(97, 115, 237)
HSLhsl(232, 80%, 65%)
HSVhsv(232, 59%, 93%)
CMYKcmyk(59.1%, 51.5%, 0%, 7.1%)
CIE-LABlab(52.86, 29.19, -63.80)
CIE-LCHlch(52.86, 70.16, 294.59°)
OKLaboklab(60.48% 0.0107 -0.1827)
OKLCHoklch(60.48% 0.183 273.3)
XYZxyz(26.3415, 20.9152, 82.7533)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173ED #EDDB61
analogous
#61B9ED #6173ED #9561ED
triadic
#6173ED #ED6173 #73ED61
tetradic
#6173ED #ED61B9 #EDDB61 #61ED95
square
#6173ED #ED61B9 #EDDB61 #61ED95
split-complementary
#6173ED #ED9561 #B9ED61
monochromatic
#162BBE #2A42E7 #6173ED #98A4F3 #CFD4FA

Accessibility & contrast

On white

4.05
#6173ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#6173ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173ED
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173ED#FFFFFF#000000##000000
##6173ED1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C84F1
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6173ed;
/* rgb */ color: rgb(97, 115, 237);
/* oklch */ color: oklch(60.5% 0.183 273.3);
Tailwind
colors: {
  custom: {
    50: '#999bf4',
    500: '#6173ed',
    950: '#000000',
  },
}
SCSS
$custom: #6173ed;
$custom-light: #999bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#6173ed",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 237
  },
  "hsl": {
    "h": 232.286,
    "s": 79.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60479,
    "c": 0.18305,
    "h": 273.3
  },
  "luminance": 0.20917
}

Semantic roles & 50–950 ramp

primary
#6173ED
secondary
#ECE6BD
accent
#C10ADC
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6173ED

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

Preview Lab → · Contrast checker → · Palette generator →

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