#6173F8#6173F8

#6173F8 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.2% C 0.198 H 273.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6173F8
RGBrgb(97, 115, 248)
HSLhsl(233, 92%, 68%)
HSVhsv(233, 61%, 97%)
CMYKcmyk(60.9%, 53.6%, 0%, 2.7%)
CIE-LABlab(53.58, 32.79, -68.76)
CIE-LCHlch(53.58, 76.18, 295.49°)
OKLaboklab(61.25% 0.0114 -0.1973)
OKLCHoklch(61.25% 0.198 273.3)
XYZxyz(27.9982, 21.5779, 91.4782)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173F8 #F8E661
analogous
#61BEF8 #6173F8 #9B61F8
triadic
#6173F8 #F86173 #73F861
tetradic
#6173F8 #F861BE #F8E661 #61F89B
square
#6173F8 #F861BE #F8E661 #61F89B
split-complementary
#6173F8 #F89B61 #BEF861
monochromatic
#0922D5 #263FF5 #6173F8 #9CA7FB #D6DBFD

Accessibility & contrast

On white

3.95
#6173F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6173F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173F8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173F8#FFFFFF#000000##000000
##6173F81.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1387FD
Deuteranopia (green-blind)
#007AF5
Tritanopia (blue-blind)
#0092AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6173f8;
/* rgb */ color: rgb(97, 115, 248);
/* oklch */ color: oklch(61.2% 0.198 273.3);
Tailwind
colors: {
  custom: {
    50: '#9b9bfb',
    500: '#6173f8',
    950: '#000000',
  },
}
SCSS
$custom: #6173f8;
$custom-light: #9b9bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#6173f8",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 248
  },
  "hsl": {
    "h": 232.848,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61249,
    "c": 0.19767,
    "h": 273.3
  },
  "luminance": 0.2158
}

Semantic roles & 50–950 ramp

primary
#6173F8
secondary
#F2ECC3
accent
#CA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6173F8

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

Preview Lab → · Contrast checker → · Palette generator →

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