#6658E9#6658E9

#6658E9 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.8% C 0.210 H 281.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6658E9
RGBrgb(102, 88, 233)
HSLhsl(246, 77%, 63%)
HSVhsv(246, 62%, 91%)
CMYKcmyk(56.2%, 62.2%, 0%, 8.6%)
CIE-LABlab(46.56, 44.93, -71.74)
CIE-LCHlch(46.56, 84.65, 302.06°)
OKLaboklab(55.81% 0.0419 -0.2062)
OKLCHoklch(55.81% 0.21 281.5)
XYZxyz(23.6726, 15.6859, 78.8553)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6658E9 #DBE958
analogous
#5892E9 #6658E9 #AE58E9
triadic
#6658E9 #E96658 #58E966
tetradic
#6658E9 #E95892 #DBE958 #58E9AE
square
#6658E9 #E95892 #DBE958 #58E9AE
split-complementary
#6658E9 #E9AE58 #92E958
monochromatic
#2617AF #3422E2 #6658E9 #988EF0 #C9C4F7

Accessibility & contrast

On white

5.08
#6658E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6658E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6658E9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6658E9#FFFFFF#000000##FFFFFF
##6658E91.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#1F7C98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6658e9;
/* rgb */ color: rgb(102, 88, 233);
/* oklch */ color: oklch(55.8% 0.210 281.5);
Tailwind
colors: {
  custom: {
    50: '#9d88f1',
    500: '#6658e9',
    950: '#000000',
  },
}
SCSS
$custom: #6658e9;
$custom-light: #9d88f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6658e9",
  "rgb": {
    "r": 102,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 245.793,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55806,
    "c": 0.2104,
    "h": 281.5
  },
  "luminance": 0.15687
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6658E9

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

Preview Lab → · Contrast checker → · Palette generator →

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