#6171E8#6171E8

#6171E8 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.8% C 0.179 H 273.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6171E8
RGBrgb(97, 113, 232)
HSLhsl(233, 75%, 65%)
HSVhsv(233, 58%, 91%)
CMYKcmyk(58.2%, 51.3%, 0%, 9%)
CIE-LABlab(52.04, 28.78, -62.33)
CIE-LCHlch(52.04, 68.65, 294.79°)
OKLaboklab(59.76% 0.0123 -0.1784)
OKLCHoklch(59.76% 0.179 273.9)
XYZxyz(25.3956, 20.1759, 78.8844)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6171E8 #E8D861
analogous
#61B5E8 #6171E8 #9561E8
triadic
#6171E8 #E86171 #71E861
tetradic
#6171E8 #E861B5 #E8D861 #61E895
square
#6171E8 #E861B5 #E8D861 #61E895
split-complementary
#6171E8 #E89561 #B5E861
monochromatic
#1A2DB4 #2C41E0 #6171E8 #96A1F0 #CCD1F8

Accessibility & contrast

On white

4.17
#6171E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6171E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6171E8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6171E8#FFFFFF#000000##000000
##6171E81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EC
Deuteranopia (green-blind)
#0776E6
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6171e8;
/* rgb */ color: rgb(97, 113, 232);
/* oklch */ color: oklch(59.8% 0.179 273.9);
Tailwind
colors: {
  custom: {
    50: '#9999f0',
    500: '#6171e8',
    950: '#000000',
  },
}
SCSS
$custom: #6171e8;
$custom-light: #9999f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6171e8",
  "rgb": {
    "r": 97,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 232.889,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59758,
    "c": 0.17885,
    "h": 273.9
  },
  "luminance": 0.20178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6171E8

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

Preview Lab → · Contrast checker → · Palette generator →

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