#6170F0#6170F0

#6170F0 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.1% C 0.191 H 274.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6170F0
RGBrgb(97, 112, 240)
HSLhsl(234, 83%, 66%)
HSVhsv(234, 60%, 94%)
CMYKcmyk(59.6%, 53.3%, 0%, 5.9%)
CIE-LABlab(52.31, 32.00, -66.36)
CIE-LCHlch(52.31, 73.67, 295.74°)
OKLaboklab(60.13% 0.0138 -0.1903)
OKLCHoklch(60.13% 0.191 274.1)
XYZxyz(26.4470, 20.4189, 84.9687)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170F0 #F0E161
analogous
#61B7F0 #6170F0 #9961F0
triadic
#6170F0 #F06170 #70F061
tetradic
#6170F0 #F061B7 #F0E161 #61F099
square
#6170F0 #F061B7 #F0E161 #61F099
split-complementary
#6170F0 #F09961 #B7F061
monochromatic
#1325C4 #293DEB #6170F0 #99A3F5 #D1D5FB

Accessibility & contrast

On white

4.13
#6170F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#6170F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170F0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170F0#FFFFFF#000000##000000
##6170F01.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6170f0;
/* rgb */ color: rgb(97, 112, 240);
/* oklch */ color: oklch(60.1% 0.191 274.1);
Tailwind
colors: {
  custom: {
    50: '#9a98f6',
    500: '#6170f0',
    950: '#000000',
  },
}
SCSS
$custom: #6170f0;
$custom-light: #9a98f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6170f0",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 240
  },
  "hsl": {
    "h": 233.706,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60129,
    "c": 0.19081,
    "h": 274.1
  },
  "luminance": 0.20421
}

Semantic roles & 50–950 ramp

primary
#6170F0
secondary
#EEE9BF
accent
#C806DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6170F0

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

Preview Lab → · Contrast checker → · Palette generator →

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