#6173CA#6173CA

#6173CA is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.2% C 0.135 H 272.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6173CA
RGBrgb(97, 115, 202)
HSLhsl(230, 50%, 59%)
HSVhsv(230, 52%, 79%)
CMYKcmyk(52%, 43.1%, 0%, 20.8%)
CIE-LABlab(50.76, 17.90, -47.39)
CIE-LCHlch(50.76, 50.66, 290.69°)
OKLaboklab(58.22% 0.0065 -0.1345)
OKLCHoklch(58.22% 0.135 272.8)
XYZxyz(21.7177, 19.0657, 58.4013)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6173CA #CAB861
analogous
#61A7CA #6173CA #8361CA
triadic
#6173CA #CA6173 #73CA61
tetradic
#6173CA #CA61A7 #CAB861 #61CA83
square
#6173CA #CA61A7 #CAB861 #61CA83
split-complementary
#6173CA #CA8361 #A7CA61
monochromatic
#2C3B84 #3C50B2 #6173CA #8F9CD9 #BDC4E9

Accessibility & contrast

On white

4.36
#6173CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#6173CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6173CA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6173CA#FFFFFF#000000##000000
##6173CA1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECD
Deuteranopia (green-blind)
#4375C8
Tritanopia (blue-blind)
#328695
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6173ca;
/* rgb */ color: rgb(97, 115, 202);
/* oklch */ color: oklch(58.2% 0.135 272.8);
Tailwind
colors: {
  custom: {
    50: '#959bda',
    500: '#6173ca',
    950: '#000000',
  },
}
SCSS
$custom: #6173ca;
$custom-light: #959bda;
$custom-dark: #000000;
JSON
{
  "hex": "#6173ca",
  "rgb": {
    "r": 97,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 229.714,
    "s": 49.763,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.13468,
    "h": 272.8
  },
  "luminance": 0.19067
}

Semantic roles & 50–950 ramp

primary
#6173CA
secondary
#D8D1AF
accent
#C14FD9
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6173CA

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

Preview Lab → · Contrast checker → · Palette generator →

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