#6173DC#6173DC

#6173DC is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.3% C 0.160 H 273.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6173DC
RGBrgb(97, 115, 220)
HSLhsl(231, 64%, 62%)
HSVhsv(231, 56%, 86%)
CMYKcmyk(55.9%, 47.7%, 0%, 13.7%)
CIE-LABlab(51.80, 23.67, -55.95)
CIE-LCHlch(51.80, 60.75, 292.93°)
OKLaboklab(59.34% 0.0091 -0.1597)
OKLCHoklch(59.34% 0.16 273.3)
XYZxyz(23.9746, 19.9684, 70.2872)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173DC #DCCA61
analogous
#61B0DC #6173DC #8D61DC
triadic
#6173DC #DC6173 #73DC61
tetradic
#6173DC #DC61B0 #DCCA61 #61DC8D
square
#6173DC #DC61B0 #DCCA61 #61DC8D
split-complementary
#6173DC #DC8D61 #B0DC61
monochromatic
#23359F #2F47D1 #6173DC #939FE7 #C5CCF2

Accessibility & contrast

On white

4.21
#6173DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6173DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173DC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173DC#FFFFFF#000000##000000
##6173DC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E0
Deuteranopia (green-blind)
#2F76DA
Tritanopia (blue-blind)
#188A9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6173dc;
/* rgb */ color: rgb(97, 115, 220);
/* oklch */ color: oklch(59.3% 0.160 273.3);
Tailwind
colors: {
  custom: {
    50: '#979be7',
    500: '#6173dc',
    950: '#000000',
  },
}
SCSS
$custom: #6173dc;
$custom-light: #979be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6173dc",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 231.22,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59343,
    "c": 0.15992,
    "h": 273.3
  },
  "luminance": 0.1997
}

Semantic roles & 50–950 ramp

primary
#6173DC
secondary
#E3DCB6
accent
#B21ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6173DC

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

Preview Lab → · Contrast checker → · Palette generator →

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