#6172CF#6172CF

#6172CF is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.3% C 0.143 H 273.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6172CF
RGBrgb(97, 114, 207)
HSLhsl(231, 53%, 60%)
HSVhsv(231, 53%, 81%)
CMYKcmyk(53.1%, 44.9%, 0%, 18.8%)
CIE-LABlab(50.78, 20.10, -50.21)
CIE-LCHlch(50.78, 54.09, 291.82°)
OKLaboklab(58.32% 0.0084 -0.1428)
OKLCHoklch(58.32% 0.143 273.4)
XYZxyz(22.2059, 19.0795, 61.5320)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172CF #CFBE61
analogous
#61A9CF #6172CF #8761CF
triadic
#6172CF #CF6172 #72CF61
tetradic
#6172CF #CF61A9 #CFBE61 #61CF87
square
#6172CF #CF61A9 #CFBE61 #61CF87
split-complementary
#6172CF #CF8761 #A9CF61
monochromatic
#2A398B #394DBA #6172CF #909CDD #BFC6EC

Accessibility & contrast

On white

4.36
#6172CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#6172CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172CF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172CF#FFFFFF#000000##000000
##6172CF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ED2
Deuteranopia (green-blind)
#3D74CD
Tritanopia (blue-blind)
#2C8696
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6172cf;
/* rgb */ color: rgb(97, 114, 207);
/* oklch */ color: oklch(58.3% 0.143 273.4);
Tailwind
colors: {
  custom: {
    50: '#959ade',
    500: '#6172cf',
    950: '#000000',
  },
}
SCSS
$custom: #6172cf;
$custom-light: #959ade;
$custom-dark: #000000;
JSON
{
  "hex": "#6172cf",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 230.727,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58321,
    "c": 0.14307,
    "h": 273.4
  },
  "luminance": 0.19081
}

Semantic roles & 50–950 ramp

primary
#6172CF
secondary
#DBD5B1
accent
#C64BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6172CF

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

Preview Lab → · Contrast checker → · Palette generator →

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