#6170EA#6170EA

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

Color values

HEX#6170EA
RGBrgb(97, 112, 234)
HSLhsl(233, 77%, 65%)
HSVhsv(233, 59%, 92%)
CMYKcmyk(58.5%, 52.1%, 0%, 8.2%)
CIE-LABlab(51.91, 30.04, -63.64)
CIE-LCHlch(51.91, 70.38, 295.27°)
OKLaboklab(59.71% 0.0134 -0.1823)
OKLCHoklch(59.71% 0.183 274.2)
XYZxyz(25.5704, 20.0683, 80.3520)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170EA #EADB61
analogous
#61B4EA #6170EA #9761EA
triadic
#6170EA #EA6170 #70EA61
tetradic
#6170EA #EA61B4 #EADB61 #61EA97
square
#6170EA #EA61B4 #EADB61 #61EA97
split-complementary
#6170EA #EA9761 #B4EA61
monochromatic
#182AB8 #2B3FE3 #6170EA #97A1F1 #CDD2F8

Accessibility & contrast

On white

4.19
#6170EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#6170EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170EA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170EA#FFFFFF#000000##000000
##6170EA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6170ea;
/* rgb */ color: rgb(97, 112, 234);
/* oklch */ color: oklch(59.7% 0.183 274.2);
Tailwind
colors: {
  custom: {
    50: '#9998f1',
    500: '#6170ea',
    950: '#000000',
  },
}
SCSS
$custom: #6170ea;
$custom-light: #9998f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6170ea",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 233.431,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59708,
    "c": 0.1828,
    "h": 274.2
  },
  "luminance": 0.2007
}

Semantic roles & 50–950 ramp

primary
#6170EA
secondary
#EBE6BC
accent
#C20DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6170EA

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

Preview Lab → · Contrast checker → · Palette generator →

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