#6172E7#6172E7

#6172E7 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.9% C 0.176 H 273.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6172E7
RGBrgb(97, 114, 231)
HSLhsl(232, 74%, 64%)
HSVhsv(232, 58%, 91%)
CMYKcmyk(58%, 50.6%, 0%, 9.4%)
CIE-LABlab(52.22, 27.85, -61.46)
CIE-LCHlch(52.22, 67.48, 294.38°)
OKLaboklab(59.88% 0.0112 -0.1759)
OKLCHoklch(59.88% 0.176 273.6)
XYZxyz(25.3662, 20.3436, 78.1758)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172E7 #E7D661
analogous
#61B5E7 #6172E7 #9361E7
triadic
#6172E7 #E76172 #72E761
tetradic
#6172E7 #E761B5 #E7D661 #61E793
square
#6172E7 #E761B5 #E7D661 #61E793
split-complementary
#6172E7 #E79361 #B5E761
monochromatic
#1B2EB2 #2C43DF #6172E7 #96A1EF #CBD1F7

Accessibility & contrast

On white

4.14
#6172E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#6172E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172E7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172E7#FFFFFF#000000##000000
##6172E71.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3283EB
Deuteranopia (green-blind)
#1377E5
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6172e7;
/* rgb */ color: rgb(97, 114, 231);
/* oklch */ color: oklch(59.9% 0.176 273.6);
Tailwind
colors: {
  custom: {
    50: '#999aef',
    500: '#6172e7',
    950: '#000000',
  },
}
SCSS
$custom: #6172e7;
$custom-light: #999aef;
$custom-dark: #000000;
JSON
{
  "hex": "#6172e7",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 232.388,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.5988,
    "c": 0.17623,
    "h": 273.6
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#6172E7
secondary
#E9E3BB
accent
#BD10D6
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6172E7

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

Preview Lab → · Contrast checker → · Palette generator →

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