#6171EB#6171EB

#6171EB is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.0% C 0.183 H 273.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6171EB
RGBrgb(97, 113, 235)
HSLhsl(233, 78%, 65%)
HSVhsv(233, 59%, 92%)
CMYKcmyk(58.7%, 51.9%, 0%, 7.8%)
CIE-LABlab(52.23, 29.76, -63.69)
CIE-LCHlch(52.23, 70.30, 295.04°)
OKLaboklab(59.97% 0.0125 -0.1824)
OKLCHoklch(59.97% 0.183 273.9)
XYZxyz(25.8254, 20.3478, 81.1478)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6171EB #EBDB61
analogous
#61B6EB #6171EB #9661EB
triadic
#6171EB #EB6171 #71EB61
tetradic
#6171EB #EB61B6 #EBDB61 #61EB96
square
#6171EB #EB61B6 #EBDB61 #61EB96
split-complementary
#6171EB #EB9661 #B6EB61
monochromatic
#182ABA #2B40E4 #6171EB #97A2F2 #CED3F9

Accessibility & contrast

On white

4.14
#6171EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#6171EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6171EB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6171EB#FFFFFF#000000##000000
##6171EB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983EF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6171eb;
/* rgb */ color: rgb(97, 113, 235);
/* oklch */ color: oklch(60.0% 0.183 273.9);
Tailwind
colors: {
  custom: {
    50: '#9999f2',
    500: '#6171eb',
    950: '#000000',
  },
}
SCSS
$custom: #6171eb;
$custom-light: #9999f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6171eb",
  "rgb": {
    "r": 97,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 233.043,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59965,
    "c": 0.18288,
    "h": 273.9
  },
  "luminance": 0.2035
}

Semantic roles & 50–950 ramp

primary
#6171EB
secondary
#EBE6BD
accent
#C20CDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6171EB

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

Preview Lab → · Contrast checker → · Palette generator →

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