#6171E9#6171E9

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

Color values

HEX#6171E9
RGBrgb(97, 113, 233)
HSLhsl(233, 76%, 65%)
HSVhsv(233, 58%, 91%)
CMYKcmyk(58.4%, 51.5%, 0%, 8.6%)
CIE-LABlab(52.10, 29.11, -62.78)
CIE-LCHlch(52.10, 69.20, 294.87°)
OKLaboklab(59.83% 0.0124 -0.1798)
OKLCHoklch(59.83% 0.18 273.9)
XYZxyz(25.5381, 20.2329, 79.6346)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6171E9 #E9D961
analogous
#61B5E9 #6171E9 #9561E9
triadic
#6171E9 #E96171 #71E961
tetradic
#6171E9 #E961B5 #E9D961 #61E995
square
#6171E9 #E961B5 #E9D961 #61E995
split-complementary
#6171E9 #E99561 #B5E961
monochromatic
#192CB6 #2B41E2 #6171E9 #97A1F0 #CCD2F8

Accessibility & contrast

On white

4.16
#6171E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#6171E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6171E9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6171E9#FFFFFF#000000##000000
##6171E91.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C82ED
Deuteranopia (green-blind)
#0177E6
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6171e9;
/* rgb */ color: rgb(97, 113, 233);
/* oklch */ color: oklch(59.8% 0.180 273.9);
Tailwind
colors: {
  custom: {
    50: '#9999f1',
    500: '#6171e9',
    950: '#000000',
  },
}
SCSS
$custom: #6171e9;
$custom-light: #9999f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6171e9",
  "rgb": {
    "r": 97,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 232.941,
    "s": 75.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59827,
    "c": 0.18019,
    "h": 273.9
  },
  "luminance": 0.20235
}

Semantic roles & 50–950 ramp

primary
#6171E9
secondary
#EAE5BC
accent
#C00ED8
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6171E9

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

Preview Lab → · Contrast checker → · Palette generator →

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