#6658E7#6658E7

#6658E7 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.208 H 281.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6658E7
RGBrgb(102, 88, 231)
HSLhsl(246, 75%, 63%)
HSVhsv(246, 62%, 91%)
CMYKcmyk(55.8%, 61.9%, 0%, 9.4%)
CIE-LABlab(46.41, 44.32, -70.86)
CIE-LCHlch(46.41, 83.58, 302.02°)
OKLaboklab(55.65% 0.0421 -0.2036)
OKLCHoklch(55.65% 0.208 281.7)
XYZxyz(23.3885, 15.5723, 77.3591)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6658E7 #D9E758
analogous
#5892E7 #6658E7 #AD58E7
triadic
#6658E7 #E76658 #58E766
tetradic
#6658E7 #E75892 #D9E758 #58E7AD
square
#6658E7 #E75892 #D9E758 #58E7AD
split-complementary
#6658E7 #E7AD58 #92E758
monochromatic
#2719AC #3522DF #6658E7 #978EEF #C8C3F6

Accessibility & contrast

On white

5.10
#6658E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6658E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6658E7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6658E7#FFFFFF#000000##FFFFFF
##6658E71.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#237B97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6658e7;
/* rgb */ color: rgb(102, 88, 231);
/* oklch */ color: oklch(55.6% 0.208 281.7);
Tailwind
colors: {
  custom: {
    50: '#9d88f0',
    500: '#6658e7',
    950: '#000000',
  },
}
SCSS
$custom: #6658e7;
$custom-light: #9d88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6658e7",
  "rgb": {
    "r": 102,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 245.874,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55648,
    "c": 0.20789,
    "h": 281.7
  },
  "luminance": 0.15574
}

Semantic roles & 50–950 ramp

primary
#6658E7
secondary
#E2E7B3
accent
#D70EC3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6658E7

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

Preview Lab → · Contrast checker → · Palette generator →

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