#6173CF#6173CF

#6173CF is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.5% C 0.142 H 272.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6173CF
RGBrgb(97, 115, 207)
HSLhsl(230, 53%, 60%)
HSVhsv(230, 53%, 81%)
CMYKcmyk(53.1%, 44.4%, 0%, 18.8%)
CIE-LABlab(51.04, 19.49, -49.79)
CIE-LCHlch(51.04, 53.47, 291.38°)
OKLaboklab(58.52% 0.0073 -0.1416)
OKLCHoklch(58.52% 0.142 272.9)
XYZxyz(22.3193, 19.3063, 61.5698)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173CF #CFBD61
analogous
#61AACF #6173CF #8661CF
triadic
#6173CF #CF6173 #73CF61
tetradic
#6173CF #CF61AA #CFBD61 #61CF86
square
#6173CF #CF61AA #CFBD61 #61CF86
split-complementary
#6173CF #CF8661 #AACF61
monochromatic
#2A3A8B #394EBA #6173CF #909DDD #BFC6EC

Accessibility & contrast

On white

4.32
#6173CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#6173CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173CF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173CF#FFFFFF#000000##000000
##6173CF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED2
Deuteranopia (green-blind)
#3F75CD
Tritanopia (blue-blind)
#2C8797
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6173cf;
/* rgb */ color: rgb(97, 115, 207);
/* oklch */ color: oklch(58.5% 0.142 272.9);
Tailwind
colors: {
  custom: {
    50: '#959bde',
    500: '#6173cf',
    950: '#000000',
  },
}
SCSS
$custom: #6173cf;
$custom-light: #959bde;
$custom-dark: #000000;
JSON
{
  "hex": "#6173cf",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 207
  },
  "hsl": {
    "h": 230.182,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58522,
    "c": 0.14177,
    "h": 272.9
  },
  "luminance": 0.19308
}

Semantic roles & 50–950 ramp

primary
#6173CF
secondary
#DBD4B1
accent
#C54BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6173CF

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

Preview Lab → · Contrast checker → · Palette generator →

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