#6172E9#6172E9

#6172E9 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.0% C 0.179 H 273.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6172E9
RGBrgb(97, 114, 233)
HSLhsl(233, 76%, 65%)
HSVhsv(233, 58%, 91%)
CMYKcmyk(58.4%, 51.1%, 0%, 8.6%)
CIE-LABlab(52.35, 28.50, -62.38)
CIE-LCHlch(52.35, 68.58, 294.55°)
OKLaboklab(60.02% 0.0114 -0.1786)
OKLCHoklch(60.02% 0.179 273.6)
XYZxyz(25.6502, 20.4572, 79.6720)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172E9 #E9D861
analogous
#61B6E9 #6172E9 #9461E9
triadic
#6172E9 #E96172 #72E961
tetradic
#6172E9 #E961B6 #E9D861 #61E994
square
#6172E9 #E961B6 #E9D861 #61E994
split-complementary
#6172E9 #E99461 #B6E961
monochromatic
#192DB6 #2B42E2 #6172E9 #97A2F0 #CCD2F8

Accessibility & contrast

On white

4.12
#6172E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#6172E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172E9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172E9#FFFFFF#000000##000000
##6172E91.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F83ED
Deuteranopia (green-blind)
#0A77E7
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6172e9;
/* rgb */ color: rgb(97, 114, 233);
/* oklch */ color: oklch(60.0% 0.179 273.6);
Tailwind
colors: {
  custom: {
    50: '#999af1',
    500: '#6172e9',
    950: '#000000',
  },
}
SCSS
$custom: #6172e9;
$custom-light: #999af1;
$custom-dark: #000000;
JSON
{
  "hex": "#6172e9",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 233
  },
  "hsl": {
    "h": 232.5,
    "s": 75.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60016,
    "c": 0.17893,
    "h": 273.6
  },
  "luminance": 0.20459
}

Semantic roles & 50–950 ramp

primary
#6172E9
secondary
#EAE4BC
accent
#BE0ED8
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6172E9

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

Preview Lab → · Contrast checker → · Palette generator →

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