#6658EA#6658EA

#6658EA is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.9% C 0.212 H 281.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6658EA
RGBrgb(102, 88, 234)
HSLhsl(246, 78%, 63%)
HSVhsv(246, 62%, 92%)
CMYKcmyk(56.4%, 62.4%, 0%, 8.2%)
CIE-LABlab(46.64, 45.24, -72.18)
CIE-LCHlch(46.64, 85.19, 302.08°)
OKLaboklab(55.89% 0.0418 -0.2075)
OKLCHoklch(55.89% 0.212 281.4)
XYZxyz(23.8159, 15.7432, 79.6097)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6658EA #DCEA58
analogous
#5893EA #6658EA #AF58EA
triadic
#6658EA #EA6658 #58EA66
tetradic
#6658EA #EA5893 #DCEA58 #58EAAF
square
#6658EA #EA5893 #DCEA58 #58EAAF
split-complementary
#6658EA #EAAF58 #93EA58
monochromatic
#2516B1 #3422E3 #6658EA #988EF1 #CAC5F8

Accessibility & contrast

On white

5.06
#6658EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6658EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6658EA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6658EA#FFFFFF#000000##FFFFFF
##6658EA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#0069E7
Tritanopia (blue-blind)
#1D7C99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6658ea;
/* rgb */ color: rgb(102, 88, 234);
/* oklch */ color: oklch(55.9% 0.212 281.4);
Tailwind
colors: {
  custom: {
    50: '#9d88f2',
    500: '#6658ea',
    950: '#000000',
  },
}
SCSS
$custom: #6658ea;
$custom-light: #9d88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6658ea",
  "rgb": {
    "r": 102,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 245.753,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55886,
    "c": 0.21165,
    "h": 281.4
  },
  "luminance": 0.15745
}

Semantic roles & 50–950 ramp

primary
#6658EA
secondary
#E4E9B5
accent
#DA0CC6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6658EA

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

Preview Lab → · Contrast checker → · Palette generator →

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