#6171F0#6171F0

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

Color values

HEX#6171F0
RGBrgb(97, 113, 240)
HSLhsl(233, 83%, 66%)
HSVhsv(233, 60%, 94%)
CMYKcmyk(59.6%, 52.9%, 0%, 5.9%)
CIE-LABlab(52.55, 31.39, -65.96)
CIE-LCHlch(52.55, 73.05, 295.45°)
OKLaboklab(60.31% 0.0128 -0.1891)
OKLCHoklch(60.31% 0.19 273.9)
XYZxyz(26.5579, 20.6408, 85.0057)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6171F0 #F0E061
analogous
#61B8F0 #6171F0 #9861F0
triadic
#6171F0 #F06171 #71F061
tetradic
#6171F0 #F061B8 #F0E061 #61F098
square
#6171F0 #F061B8 #F0E061 #61F098
split-complementary
#6171F0 #F09861 #B8F061
monochromatic
#1326C4 #293FEB #6171F0 #99A3F5 #D1D5FB

Accessibility & contrast

On white

4.09
#6171F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#6171F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6171F0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6171F0#FFFFFF#000000##000000
##6171F01.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F84F4
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6171f0;
/* rgb */ color: rgb(97, 113, 240);
/* oklch */ color: oklch(60.3% 0.190 273.9);
Tailwind
colors: {
  custom: {
    50: '#9a99f6',
    500: '#6171f0',
    950: '#000000',
  },
}
SCSS
$custom: #6171f0;
$custom-light: #9a99f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6171f0",
  "rgb": {
    "r": 97,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 233.287,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60314,
    "c": 0.18956,
    "h": 273.9
  },
  "luminance": 0.20643
}

Semantic roles & 50–950 ramp

primary
#6171F0
secondary
#EEE9BF
accent
#C706DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6171F0

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

Preview Lab → · Contrast checker → · Palette generator →

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