#6170E7#6170E7

#6170E7 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.5% C 0.179 H 274.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6170E7
RGBrgb(97, 112, 231)
HSLhsl(233, 74%, 64%)
HSVhsv(233, 58%, 91%)
CMYKcmyk(58%, 51.5%, 0%, 9.4%)
CIE-LABlab(51.72, 29.07, -62.27)
CIE-LCHlch(51.72, 68.72, 295.02°)
OKLaboklab(59.5% 0.0132 -0.1783)
OKLCHoklch(59.5% 0.179 274.2)
XYZxyz(25.1430, 19.8973, 78.1014)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170E7 #E7D861
analogous
#61B3E7 #6170E7 #9561E7
triadic
#6170E7 #E76170 #70E761
tetradic
#6170E7 #E761B3 #E7D861 #61E795
square
#6170E7 #E761B3 #E7D861 #61E795
split-complementary
#6170E7 #E79561 #B3E761
monochromatic
#1B2CB2 #2C40DF #6170E7 #96A0EF #CBD0F7

Accessibility & contrast

On white

4.22
#6170E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#6170E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170E7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170E7#FFFFFF#000000##000000
##6170E71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C81EB
Deuteranopia (green-blind)
#0476E5
Tritanopia (blue-blind)
#008BA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6170e7;
/* rgb */ color: rgb(97, 112, 231);
/* oklch */ color: oklch(59.5% 0.179 274.2);
Tailwind
colors: {
  custom: {
    50: '#9998ef',
    500: '#6170e7',
    950: '#000000',
  },
}
SCSS
$custom: #6170e7;
$custom-light: #9998ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6170e7",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 233.284,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59501,
    "c": 0.17877,
    "h": 274.2
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

primary
#6170E7
secondary
#E9E4BB
accent
#C010D6
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6170E7

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

Preview Lab → · Contrast checker → · Palette generator →

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