#6172E8#6172E8

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

Color values

HEX#6172E8
RGBrgb(97, 114, 232)
HSLhsl(232, 75%, 65%)
HSVhsv(232, 58%, 91%)
CMYKcmyk(58.2%, 50.9%, 0%, 9%)
CIE-LABlab(52.29, 28.17, -61.92)
CIE-LCHlch(52.29, 68.03, 294.47°)
OKLaboklab(59.95% 0.0113 -0.1772)
OKLCHoklch(59.95% 0.178 273.6)
XYZxyz(25.5078, 20.4003, 78.9218)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172E8 #E8D761
analogous
#61B6E8 #6172E8 #9361E8
triadic
#6172E8 #E86172 #72E861
tetradic
#6172E8 #E861B6 #E8D761 #61E893
square
#6172E8 #E861B6 #E8D761 #61E893
split-complementary
#6172E8 #E89361 #B6E861
monochromatic
#1A2EB4 #2C42E0 #6172E8 #96A2F0 #CCD1F8

Accessibility & contrast

On white

4.13
#6172E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#6172E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172E8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172E8#FFFFFF#000000##000000
##6172E81.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3083EC
Deuteranopia (green-blind)
#0F77E6
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6172e8;
/* rgb */ color: rgb(97, 114, 232);
/* oklch */ color: oklch(59.9% 0.178 273.6);
Tailwind
colors: {
  custom: {
    50: '#999af0',
    500: '#6172e8',
    950: '#000000',
  },
}
SCSS
$custom: #6172e8;
$custom-light: #999af0;
$custom-dark: #000000;
JSON
{
  "hex": "#6172e8",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 232.444,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59948,
    "c": 0.17758,
    "h": 273.6
  },
  "luminance": 0.20402
}

Semantic roles & 50–950 ramp

primary
#6172E8
secondary
#EAE4BB
accent
#BE0FD7
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6172E8

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

Preview Lab → · Contrast checker → · Palette generator →

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