#6172CD#6172CD

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

Color values

HEX#6172CD
RGBrgb(97, 114, 205)
HSLhsl(231, 52%, 59%)
HSVhsv(231, 53%, 80%)
CMYKcmyk(52.7%, 44.4%, 0%, 19.6%)
CIE-LABlab(50.67, 19.47, -49.26)
CIE-LCHlch(50.67, 52.96, 291.57°)
OKLaboklab(58.2% 0.0081 -0.14)
OKLCHoklch(58.2% 0.14 273.3)
XYZxyz(21.9630, 18.9823, 60.2524)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172CD #CDBC61
analogous
#61A8CD #6172CD #8661CD
triadic
#6172CD #CD6172 #72CD61
tetradic
#6172CD #CD61A8 #CDBC61 #61CD86
square
#6172CD #CD61A8 #CDBC61 #61CD86
split-complementary
#6172CD #CD8661 #A8CD61
monochromatic
#2B3A88 #3A4EB7 #6172CD #8F9BDC #BEC5EA

Accessibility & contrast

On white

4.38
#6172CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#6172CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172CD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172CD#FFFFFF#000000##000000
##6172CD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DD0
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#2F8695
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6172cd;
/* rgb */ color: rgb(97, 114, 205);
/* oklch */ color: oklch(58.2% 0.140 273.3);
Tailwind
colors: {
  custom: {
    50: '#959add',
    500: '#6172cd',
    950: '#000000',
  },
}
SCSS
$custom: #6172cd;
$custom-light: #959add;
$custom-dark: #000000;
JSON
{
  "hex": "#6172cd",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 230.556,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58197,
    "c": 0.14025,
    "h": 273.3
  },
  "luminance": 0.18984
}

Semantic roles & 50–950 ramp

primary
#6172CD
secondary
#DAD3B0
accent
#C54CDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6172CD

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

Preview Lab → · Contrast checker → · Palette generator →

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