#6171EF#6171EF

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

Color values

HEX#6171EF
RGBrgb(97, 113, 239)
HSLhsl(233, 82%, 66%)
HSVhsv(233, 59%, 94%)
CMYKcmyk(59.4%, 52.7%, 0%, 6.3%)
CIE-LABlab(52.49, 31.06, -65.51)
CIE-LCHlch(52.49, 72.50, 295.37°)
OKLaboklab(60.24% 0.0127 -0.1878)
OKLCHoklch(60.24% 0.188 273.9)
XYZxyz(26.4098, 20.5816, 84.2255)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6171EF #EFDF61
analogous
#61B8EF #6171EF #9861EF
triadic
#6171EF #EF6171 #71EF61
tetradic
#6171EF #EF61B8 #EFDF61 #61EF98
square
#6171EF #EF61B8 #EFDF61 #61EF98
split-complementary
#6171EF #EF9861 #B8EF61
monochromatic
#1427C2 #293FE9 #6171EF #99A3F5 #D0D5FA

Accessibility & contrast

On white

4.10
#6171EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#6171EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6171EF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6171EF#FFFFFF#000000##000000
##6171EF1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2184F3
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6171ef;
/* rgb */ color: rgb(97, 113, 239);
/* oklch */ color: oklch(60.2% 0.188 273.9);
Tailwind
colors: {
  custom: {
    50: '#9a99f5',
    500: '#6171ef',
    950: '#000000',
  },
}
SCSS
$custom: #6171ef;
$custom-light: #9a99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6171ef",
  "rgb": {
    "r": 97,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 233.239,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60243,
    "c": 0.18823,
    "h": 273.9
  },
  "luminance": 0.20584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6171EF

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

Preview Lab → · Contrast checker → · Palette generator →

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