#6171EE#6171EE

#6171EE is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.2% C 0.187 H 273.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6171EE
RGBrgb(97, 113, 238)
HSLhsl(233, 81%, 66%)
HSVhsv(233, 59%, 93%)
CMYKcmyk(59.2%, 52.5%, 0%, 6.7%)
CIE-LABlab(52.42, 30.74, -65.06)
CIE-LCHlch(52.42, 71.95, 295.29°)
OKLaboklab(60.17% 0.0127 -0.1865)
OKLCHoklch(60.17% 0.187 273.9)
XYZxyz(26.2624, 20.5226, 83.4497)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6171EE #EEDE61
analogous
#61B8EE #6171EE #9761EE
triadic
#6171EE #EE6171 #71EE61
tetradic
#6171EE #EE61B8 #EEDE61 #61EE97
square
#6171EE #EE61B8 #EEDE61 #61EE97
split-complementary
#6171EE #EE9761 #B8EE61
monochromatic
#1528C0 #2A3FE8 #6171EE #98A3F4 #D0D4FA

Accessibility & contrast

On white

4.11
#6171EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#6171EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6171EE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6171EE#FFFFFF#000000##000000
##6171EE1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2383F2
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6171ee;
/* rgb */ color: rgb(97, 113, 238);
/* oklch */ color: oklch(60.2% 0.187 273.9);
Tailwind
colors: {
  custom: {
    50: '#9a99f4',
    500: '#6171ee',
    950: '#000000',
  },
}
SCSS
$custom: #6171ee;
$custom-light: #9a99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6171ee",
  "rgb": {
    "r": 97,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 233.191,
    "s": 80.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60173,
    "c": 0.18689,
    "h": 273.9
  },
  "luminance": 0.20525
}

Semantic roles & 50–950 ramp

primary
#6171EE
secondary
#EDE8BE
accent
#C509DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6171EE

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

Preview Lab → · Contrast checker → · Palette generator →

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