#6173EF#6173EF

#6173EF is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.6% C 0.186 H 273.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6173EF
RGBrgb(97, 115, 239)
HSLhsl(232, 82%, 66%)
HSVhsv(232, 59%, 94%)
CMYKcmyk(59.4%, 51.9%, 0%, 6.3%)
CIE-LABlab(52.99, 29.85, -64.71)
CIE-LCHlch(52.99, 71.26, 294.76°)
OKLaboklab(60.62% 0.0108 -0.1854)
OKLCHoklch(60.62% 0.186 273.3)
XYZxyz(26.6354, 21.0327, 84.3007)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173EF #EFDD61
analogous
#61BAEF #6173EF #9661EF
triadic
#6173EF #EF6173 #73EF61
tetradic
#6173EF #EF61BA #EFDD61 #61EF96
square
#6173EF #EF61BA #EFDD61 #61EF96
split-complementary
#6173EF #EF9661 #BAEF61
monochromatic
#142AC2 #2942E9 #6173EF #99A4F5 #D0D5FA

Accessibility & contrast

On white

4.03
#6173EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#6173EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173EF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173EF#FFFFFF#000000##000000
##6173EF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2985F3
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6173ef;
/* rgb */ color: rgb(97, 115, 239);
/* oklch */ color: oklch(60.6% 0.186 273.3);
Tailwind
colors: {
  custom: {
    50: '#9a9bf5',
    500: '#6173ef',
    950: '#000000',
  },
}
SCSS
$custom: #6173ef;
$custom-light: #9a9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6173ef",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 232.394,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60617,
    "c": 0.18574,
    "h": 273.3
  },
  "luminance": 0.21035
}

Semantic roles & 50–950 ramp

primary
#6173EF
secondary
#EDE7BE
accent
#C308DE
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6173EF

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

Preview Lab → · Contrast checker → · Palette generator →

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