#6170EB#6170EB

#6170EB is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.8% C 0.184 H 274.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6170EB
RGBrgb(97, 112, 235)
HSLhsl(233, 78%, 65%)
HSVhsv(233, 59%, 92%)
CMYKcmyk(58.7%, 52.3%, 0%, 7.8%)
CIE-LABlab(51.98, 30.37, -64.10)
CIE-LCHlch(51.98, 70.93, 295.35°)
OKLaboklab(59.78% 0.0135 -0.1836)
OKLCHoklch(59.78% 0.184 274.2)
XYZxyz(25.7144, 20.1259, 81.1108)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170EB #EBDC61
analogous
#61B5EB #6170EB #9761EB
triadic
#6170EB #EB6170 #70EB61
tetradic
#6170EB #EB61B5 #EBDC61 #61EB97
square
#6170EB #EB61B5 #EBDC61 #61EB97
split-complementary
#6170EB #EB9761 #B5EB61
monochromatic
#1829BA #2B3FE4 #6170EB #97A1F2 #CED2F9

Accessibility & contrast

On white

4.18
#6170EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#6170EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170EB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170EB#FFFFFF#000000##000000
##6170EB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EF
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#008CA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6170eb;
/* rgb */ color: rgb(97, 112, 235);
/* oklch */ color: oklch(59.8% 0.184 274.2);
Tailwind
colors: {
  custom: {
    50: '#9998f2',
    500: '#6170eb',
    950: '#000000',
  },
}
SCSS
$custom: #6170eb;
$custom-light: #9998f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6170eb",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 233.478,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59778,
    "c": 0.18414,
    "h": 274.2
  },
  "luminance": 0.20128
}

Semantic roles & 50–950 ramp

primary
#6170EB
secondary
#EBE6BD
accent
#C30CDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6170EB

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

Preview Lab → · Contrast checker → · Palette generator →

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