#6173F0#6173F0

#6173F0 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.7% C 0.187 H 273.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6173F0
RGBrgb(97, 115, 240)
HSLhsl(232, 83%, 66%)
HSVhsv(232, 60%, 94%)
CMYKcmyk(59.6%, 52.1%, 0%, 5.9%)
CIE-LABlab(53.05, 30.17, -65.16)
CIE-LCHlch(53.05, 71.81, 294.85°)
OKLaboklab(60.69% 0.0109 -0.1867)
OKLCHoklch(60.69% 0.187 273.3)
XYZxyz(26.7835, 21.0920, 85.0809)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173F0 #F0DE61
analogous
#61BAF0 #6173F0 #9661F0
triadic
#6173F0 #F06173 #73F061
tetradic
#6173F0 #F061BA #F0DE61 #61F096
square
#6173F0 #F061BA #F0DE61 #61F096
split-complementary
#6173F0 #F09661 #BAF061
monochromatic
#1329C4 #2941EB #6173F0 #99A5F5 #D1D6FB

Accessibility & contrast

On white

4.02
#6173F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#6173F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173F0
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173F0#FFFFFF#000000##000000
##6173F01.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2785F4
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#0090A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6173f0;
/* rgb */ color: rgb(97, 115, 240);
/* oklch */ color: oklch(60.7% 0.187 273.3);
Tailwind
colors: {
  custom: {
    50: '#9a9bf6',
    500: '#6173f0',
    950: '#000000',
  },
}
SCSS
$custom: #6173f0;
$custom-light: #9a9bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#6173f0",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 240
  },
  "hsl": {
    "h": 232.448,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60686,
    "c": 0.18707,
    "h": 273.3
  },
  "luminance": 0.21094
}

Semantic roles & 50–950 ramp

primary
#6173F0
secondary
#EEE8BF
accent
#C406DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6173F0

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

Preview Lab → · Contrast checker → · Palette generator →

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