#6658E8#6658E8

#6658E8 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.7% C 0.209 H 281.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6658E8
RGBrgb(102, 88, 232)
HSLhsl(246, 76%, 63%)
HSVhsv(246, 62%, 91%)
CMYKcmyk(56%, 62.1%, 0%, 9%)
CIE-LABlab(46.48, 44.63, -71.30)
CIE-LCHlch(46.48, 84.12, 302.04°)
OKLaboklab(55.73% 0.042 -0.2049)
OKLCHoklch(55.73% 0.209 281.6)
XYZxyz(23.5302, 15.6289, 78.1051)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6658E8 #DAE858
analogous
#5892E8 #6658E8 #AE58E8
triadic
#6658E8 #E86658 #58E866
tetradic
#6658E8 #E85892 #DAE858 #58E8AE
square
#6658E8 #E85892 #DAE858 #58E8AE
split-complementary
#6658E8 #E8AE58 #92E858
monochromatic
#2618AE #3522E1 #6658E8 #978EEF #C9C4F7

Accessibility & contrast

On white

5.09
#6658E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6658E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6658E8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6658E8#FFFFFF#000000##FFFFFF
##6658E81.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#217B98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6658e8;
/* rgb */ color: rgb(102, 88, 232);
/* oklch */ color: oklch(55.7% 0.209 281.6);
Tailwind
colors: {
  custom: {
    50: '#9d88f0',
    500: '#6658e8',
    950: '#000000',
  },
}
SCSS
$custom: #6658e8;
$custom-light: #9d88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6658e8",
  "rgb": {
    "r": 102,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 245.833,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55727,
    "c": 0.20915,
    "h": 281.6
  },
  "luminance": 0.1563
}

Semantic roles & 50–950 ramp

primary
#6658E8
secondary
#E3E8B4
accent
#D80EC4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6658E8

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

Preview Lab → · Contrast checker → · Palette generator →

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