#6173EA#6173EA

#6173EA is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.3% C 0.179 H 273.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6173EA
RGBrgb(97, 115, 234)
HSLhsl(232, 77%, 65%)
HSVhsv(232, 59%, 92%)
CMYKcmyk(58.5%, 50.9%, 0%, 8.2%)
CIE-LABlab(52.67, 28.22, -62.43)
CIE-LCHlch(52.67, 68.51, 294.32°)
OKLaboklab(60.27% 0.0105 -0.1787)
OKLCHoklch(60.27% 0.179 273.3)
XYZxyz(25.9069, 20.7414, 80.4642)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173EA #EAD861
analogous
#61B7EA #6173EA #9461EA
triadic
#6173EA #EA6173 #73EA61
tetradic
#6173EA #EA61B7 #EAD861 #61EA94
square
#6173EA #EA61B7 #EAD861 #61EA94
split-complementary
#6173EA #EA9461 #B7EA61
monochromatic
#182DB8 #2B43E3 #6173EA #97A3F1 #CDD3F8

Accessibility & contrast

On white

4.08
#6173EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#6173EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173EA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173EA#FFFFFF#000000##000000
##6173EA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EE
Deuteranopia (green-blind)
#0D78E8
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6173ea;
/* rgb */ color: rgb(97, 115, 234);
/* oklch */ color: oklch(60.3% 0.179 273.3);
Tailwind
colors: {
  custom: {
    50: '#999bf1',
    500: '#6173ea',
    950: '#000000',
  },
}
SCSS
$custom: #6173ea;
$custom-light: #999bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#6173ea",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 232.117,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60274,
    "c": 0.17902,
    "h": 273.3
  },
  "luminance": 0.20743
}

Semantic roles & 50–950 ramp

primary
#6173EA
secondary
#EBE5BC
accent
#BE0DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6173EA

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

Preview Lab → · Contrast checker → · Palette generator →

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