#6173DA#6173DA

#6173DA is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.2% C 0.157 H 273.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6173DA
RGBrgb(97, 115, 218)
HSLhsl(231, 62%, 62%)
HSVhsv(231, 56%, 85%)
CMYKcmyk(55.5%, 47.2%, 0%, 14.5%)
CIE-LABlab(51.68, 23.02, -55.01)
CIE-LCHlch(51.68, 59.64, 292.71°)
OKLaboklab(59.21% 0.0088 -0.1569)
OKLCHoklch(59.21% 0.157 273.2)
XYZxyz(23.7113, 19.8631, 68.9006)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173DA #DAC861
analogous
#61B0DA #6173DA #8C61DA
triadic
#6173DA #DA6173 #73DA61
tetradic
#6173DA #DA61B0 #DAC861 #61DA8C
square
#6173DA #DA61B0 #DAC861 #61DA8C
split-complementary
#6173DA #DA8C61 #B0DA61
monochromatic
#25369C #3048CE #6173DA #939FE6 #C4CBF1

Accessibility & contrast

On white

4.22
#6173DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#6173DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173DA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173DA#FFFFFF#000000##000000
##6173DA1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281DE
Deuteranopia (green-blind)
#3276D8
Tritanopia (blue-blind)
#1C8A9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6173da;
/* rgb */ color: rgb(97, 115, 218);
/* oklch */ color: oklch(59.2% 0.157 273.2);
Tailwind
colors: {
  custom: {
    50: '#979be6',
    500: '#6173da',
    950: '#000000',
  },
}
SCSS
$custom: #6173da;
$custom-light: #979be6;
$custom-dark: #000000;
JSON
{
  "hex": "#6173da",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 218
  },
  "hsl": {
    "h": 231.074,
    "s": 62.051,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59214,
    "c": 0.15715,
    "h": 273.2
  },
  "luminance": 0.19865
}

Semantic roles & 50–950 ramp

primary
#6173DA
secondary
#E2DBB5
accent
#B01CCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6173DA

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

Preview Lab → · Contrast checker → · Palette generator →

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