#6172CE#6172CE

#6172CE is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.3% C 0.142 H 273.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6172CE
RGBrgb(97, 114, 206)
HSLhsl(231, 53%, 59%)
HSVhsv(231, 53%, 81%)
CMYKcmyk(52.9%, 44.7%, 0%, 19.2%)
CIE-LABlab(50.72, 19.79, -49.74)
CIE-LCHlch(50.72, 53.53, 291.69°)
OKLaboklab(58.26% 0.0083 -0.1414)
OKLCHoklch(58.26% 0.142 273.3)
XYZxyz(22.0841, 19.0308, 60.8901)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172CE #CEBD61
analogous
#61A9CE #6172CE #8761CE
triadic
#6172CE #CE6172 #72CE61
tetradic
#6172CE #CE61A9 #CEBD61 #61CE87
square
#6172CE #CE61A9 #CEBD61 #61CE87
split-complementary
#6172CE #CE8761 #A9CE61
monochromatic
#2B3A8A #394DB9 #6172CE #909CDC #BEC5EB

Accessibility & contrast

On white

4.37
#6172CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#6172CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172CE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172CE#FFFFFF#000000##000000
##6172CE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED1
Deuteranopia (green-blind)
#3E74CC
Tritanopia (blue-blind)
#2E8696
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6172ce;
/* rgb */ color: rgb(97, 114, 206);
/* oklch */ color: oklch(58.3% 0.142 273.3);
Tailwind
colors: {
  custom: {
    50: '#959add',
    500: '#6172ce',
    950: '#000000',
  },
}
SCSS
$custom: #6172ce;
$custom-light: #959add;
$custom-dark: #000000;
JSON
{
  "hex": "#6172ce",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 230.642,
    "s": 52.657,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58259,
    "c": 0.14165,
    "h": 273.3
  },
  "luminance": 0.19032
}

Semantic roles & 50–950 ramp

primary
#6172CE
secondary
#DBD4B0
accent
#C64CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6172CE

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

Preview Lab → · Contrast checker → · Palette generator →

#6172CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva