#6658E6#6658E6

#6658E6 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.6% C 0.207 H 281.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6658E6
RGBrgb(102, 88, 230)
HSLhsl(246, 74%, 62%)
HSVhsv(246, 62%, 90%)
CMYKcmyk(55.7%, 61.7%, 0%, 9.8%)
CIE-LABlab(46.33, 44.02, -70.42)
CIE-LCHlch(46.33, 83.04, 302.01°)
OKLaboklab(55.57% 0.0421 -0.2023)
OKLCHoklch(55.57% 0.207 281.8)
XYZxyz(23.2477, 15.5159, 76.6174)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6658E6 #D8E658
analogous
#5891E6 #6658E6 #AD58E6
triadic
#6658E6 #E66658 #58E666
tetradic
#6658E6 #E65891 #D8E658 #58E6AD
square
#6658E6 #E65891 #D8E658 #58E6AD
split-complementary
#6658E6 #E6AD58 #91E658
monochromatic
#2819AA #3523DE #6658E6 #978DEE #C8C2F6

Accessibility & contrast

On white

5.12
#6658E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6658E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6658E6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6658E6#FFFFFF#000000##FFFFFF
##6658E61.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0069E3
Tritanopia (blue-blind)
#247B97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6658e6;
/* rgb */ color: rgb(102, 88, 230);
/* oklch */ color: oklch(55.6% 0.207 281.8);
Tailwind
colors: {
  custom: {
    50: '#9d88ef',
    500: '#6658e6',
    950: '#000000',
  },
}
SCSS
$custom: #6658e6;
$custom-light: #9d88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6658e6",
  "rgb": {
    "r": 102,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 245.915,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5557,
    "c": 0.20663,
    "h": 281.8
  },
  "luminance": 0.15517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6658E6

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

Preview Lab → · Contrast checker → · Palette generator →

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