#6172DF#6172DF

#6172DF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.3% C 0.165 H 273.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6172DF
RGBrgb(97, 114, 223)
HSLhsl(232, 66%, 63%)
HSVhsv(232, 57%, 87%)
CMYKcmyk(56.5%, 48.9%, 0%, 12.5%)
CIE-LABlab(51.73, 25.25, -57.76)
CIE-LCHlch(51.73, 63.04, 293.61°)
OKLaboklab(59.34% 0.0105 -0.165)
OKLCHoklch(59.34% 0.165 273.6)
XYZxyz(24.2620, 19.9019, 72.3607)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172DF #DFCE61
analogous
#61B1DF #6172DF #8F61DF
triadic
#6172DF #DF6172 #72DF61
tetradic
#6172DF #DF61B1 #DFCE61 #61DF8F
square
#6172DF #DF61B1 #DFCE61 #61DF8F
split-complementary
#6172DF #DF8F61 #B1DF61
monochromatic
#2133A4 #2E45D5 #6172DF #949FE9 #C7CDF4

Accessibility & contrast

On white

4.22
#6172DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#6172DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172DF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172DF#FFFFFF#000000##000000
##6172DF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B81E3
Deuteranopia (green-blind)
#2776DD
Tritanopia (blue-blind)
#108B9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6172df;
/* rgb */ color: rgb(97, 114, 223);
/* oklch */ color: oklch(59.3% 0.165 273.6);
Tailwind
colors: {
  custom: {
    50: '#979aea',
    500: '#6172df',
    950: '#000000',
  },
}
SCSS
$custom: #6172df;
$custom-light: #979aea;
$custom-dark: #000000;
JSON
{
  "hex": "#6172df",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 231.905,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59344,
    "c": 0.16533,
    "h": 273.6
  },
  "luminance": 0.19904
}

Semantic roles & 50–950 ramp

primary
#6172DF
secondary
#E5DFB7
accent
#B617CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6172DF

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

Preview Lab → · Contrast checker → · Palette generator →

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