#6170FF#6170FF

#6170FF is a mid, highly saturated blue. Relative luminance 0.213; OKLCH L 61.2% C 0.210 H 273.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6170FF
RGBrgb(97, 112, 255)
HSLhsl(234, 100%, 69%)
HSVhsv(234, 62%, 100%)
CMYKcmyk(62%, 56.1%, 0%, 0%)
CIE-LABlab(53.33, 36.88, -73.04)
CIE-LCHlch(53.33, 81.82, 296.79°)
OKLaboklab(61.21% 0.0143 -0.21)
OKLCHoklch(61.21% 0.21 273.9)
XYZxyz(28.7680, 21.3473, 97.1928)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170FF #FFF061
analogous
#61BFFF #6170FF #A161FF
triadic
#6170FF #FF6170 #70FF61
tetradic
#6170FF #FF61BF #FFF061 #61FFA1
square
#6170FF #FF61BF #FFF061 #61FFA1
split-complementary
#6170FF #FFA161 #BFFF61
monochromatic
#0016E6 #2439FF #6170FF #9EA7FF #DBDFFF

Accessibility & contrast

On white

3.98
#6170FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#6170FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170FF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170FF#FFFFFF#000000##000000
##6170FF1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0079FC
Tritanopia (blue-blind)
#0092AD
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6170ff;
/* rgb */ color: rgb(97, 112, 255);
/* oklch */ color: oklch(61.2% 0.210 273.9);
Tailwind
colors: {
  custom: {
    50: '#9c99ff',
    500: '#6170ff',
    950: '#000000',
  },
}
SCSS
$custom: #6170ff;
$custom-light: #9c99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6170ff",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 255
  },
  "hsl": {
    "h": 234.304,
    "s": 100,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61214,
    "c": 0.21044,
    "h": 273.9
  },
  "luminance": 0.2135
}

Semantic roles & 50–950 ramp

primary
#6170FF
secondary
#F5F1C7
accent
#D000E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #6170FF

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

Preview Lab → · Contrast checker → · Palette generator →

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