#6173E2#6173E2

#6173E2 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.7% C 0.168 H 273.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6173E2
RGBrgb(97, 115, 226)
HSLhsl(232, 69%, 63%)
HSVhsv(232, 57%, 89%)
CMYKcmyk(57.1%, 49.1%, 0%, 11.4%)
CIE-LABlab(52.17, 25.61, -58.75)
CIE-LCHlch(52.17, 64.09, 293.56°)
OKLaboklab(59.74% 0.0097 -0.1679)
OKLCHoklch(59.74% 0.168 273.3)
XYZxyz(24.7835, 20.2920, 74.5475)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173E2 #E2D061
analogous
#61B3E2 #6173E2 #8F61E2
triadic
#6173E2 #E26173 #73E261
tetradic
#6173E2 #E261B3 #E2D061 #61E28F
square
#6173E2 #E261B3 #E2D061 #61E28F
split-complementary
#6173E2 #E28F61 #B3E261
monochromatic
#1F32A9 #2D45D9 #6173E2 #95A1EB #C8CFF5

Accessibility & contrast

On white

4.15
#6173E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6173E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173E2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173E2#FFFFFF#000000##000000
##6173E21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A82E6
Deuteranopia (green-blind)
#2577E0
Tritanopia (blue-blind)
#038CA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6173e2;
/* rgb */ color: rgb(97, 115, 226);
/* oklch */ color: oklch(59.7% 0.168 273.3);
Tailwind
colors: {
  custom: {
    50: '#989bec',
    500: '#6173e2',
    950: '#000000',
  },
}
SCSS
$custom: #6173e2;
$custom-light: #989bec;
$custom-dark: #000000;
JSON
{
  "hex": "#6173e2",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 226
  },
  "hsl": {
    "h": 231.628,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59736,
    "c": 0.16816,
    "h": 273.3
  },
  "luminance": 0.20294
}

Semantic roles & 50–950 ramp

primary
#6173E2
secondary
#E6E0B8
accent
#B715D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6173E2

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

Preview Lab → · Contrast checker → · Palette generator →

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