#6172E2#6172E2

#6172E2 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.5% C 0.169 H 273.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6172E2
RGBrgb(97, 114, 226)
HSLhsl(232, 69%, 63%)
HSVhsv(232, 57%, 89%)
CMYKcmyk(57.1%, 49.6%, 0%, 11.4%)
CIE-LABlab(51.91, 26.22, -59.16)
CIE-LCHlch(51.91, 64.71, 293.91°)
OKLaboklab(59.54% 0.0108 -0.1691)
OKLCHoklch(59.54% 0.169 273.6)
XYZxyz(24.6701, 20.0652, 74.5097)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172E2 #E2D161
analogous
#61B2E2 #6172E2 #9061E2
triadic
#6172E2 #E26172 #72E261
tetradic
#6172E2 #E261B2 #E2D161 #61E290
square
#6172E2 #E261B2 #E2D161 #61E290
split-complementary
#6172E2 #E29061 #B2E261
monochromatic
#1F31A9 #2D44D9 #6172E2 #95A0EB #C8CEF5

Accessibility & contrast

On white

4.19
#6172E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#6172E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172E2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172E2#FFFFFF#000000##000000
##6172E21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3882E6
Deuteranopia (green-blind)
#2176E0
Tritanopia (blue-blind)
#048B9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6172e2;
/* rgb */ color: rgb(97, 114, 226);
/* oklch */ color: oklch(59.5% 0.169 273.6);
Tailwind
colors: {
  custom: {
    50: '#989aec',
    500: '#6172e2',
    950: '#000000',
  },
}
SCSS
$custom: #6172e2;
$custom-light: #989aec;
$custom-dark: #000000;
JSON
{
  "hex": "#6172e2",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 232.093,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59543,
    "c": 0.16943,
    "h": 273.6
  },
  "luminance": 0.20067
}

Semantic roles & 50–950 ramp

primary
#6172E2
secondary
#E6E0B8
accent
#B815D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6172E2

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

Preview Lab → · Contrast checker → · Palette generator →

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