#6172CC#6172CC

#6172CC is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.1% C 0.139 H 273.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6172CC
RGBrgb(97, 114, 204)
HSLhsl(230, 51%, 59%)
HSVhsv(230, 52%, 80%)
CMYKcmyk(52.5%, 44.1%, 0%, 20%)
CIE-LABlab(50.61, 19.15, -48.78)
CIE-LCHlch(50.61, 52.40, 291.43°)
OKLaboklab(58.14% 0.008 -0.1386)
OKLCHoklch(58.14% 0.139 273.3)
XYZxyz(21.8427, 18.9342, 59.6187)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172CC #CCBB61
analogous
#61A8CC #6172CC #8661CC
triadic
#6172CC #CC6172 #72CC61
tetradic
#6172CC #CC61A8 #CCBB61 #61CC86
square
#6172CC #CC61A8 #CCBB61 #61CC86
split-complementary
#6172CC #CC8661 #A8CC61
monochromatic
#2C3A87 #3B4EB5 #6172CC #8F9BDB #BEC5EA

Accessibility & contrast

On white

4.39
#6172CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#6172CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172CC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172CC#FFFFFF#000000##000000
##6172CC1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCF
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#308595
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6172cc;
/* rgb */ color: rgb(97, 114, 204);
/* oklch */ color: oklch(58.1% 0.139 273.3);
Tailwind
colors: {
  custom: {
    50: '#959adc',
    500: '#6172cc',
    950: '#000000',
  },
}
SCSS
$custom: #6172cc;
$custom-light: #959adc;
$custom-dark: #000000;
JSON
{
  "hex": "#6172cc",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 230.467,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58136,
    "c": 0.13883,
    "h": 273.3
  },
  "luminance": 0.18936
}

Semantic roles & 50–950 ramp

primary
#6172CC
secondary
#D9D3AF
accent
#C44DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6172CC

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

Preview Lab → · Contrast checker → · Palette generator →

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