#6658EC#6658EC

#6658EC is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.0% C 0.214 H 281.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6658EC
RGBrgb(102, 88, 236)
HSLhsl(246, 80%, 64%)
HSVhsv(246, 63%, 93%)
CMYKcmyk(56.8%, 62.7%, 0%, 7.5%)
CIE-LABlab(46.79, 45.85, -73.06)
CIE-LCHlch(46.79, 86.26, 302.11°)
OKLaboklab(56.05% 0.0417 -0.21)
OKLCHoklch(56.05% 0.214 281.2)
XYZxyz(24.1048, 15.8588, 81.1315)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6658EC #DEEC58
analogous
#5894EC #6658EC #B058EC
triadic
#6658EC #EC6658 #58EC66
tetradic
#6658EC #EC5894 #DEEC58 #58ECB0
square
#6658EC #EC5894 #DEEC58 #58ECB0
split-complementary
#6658EC #ECB058 #94EC58
monochromatic
#2415B5 #3421E6 #6658EC #988FF2 #CBC6F9

Accessibility & contrast

On white

5.03
#6658EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6658EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6658EC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6658EC#FFFFFF#000000##FFFFFF
##6658EC1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#187D9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6658ec;
/* rgb */ color: rgb(102, 88, 236);
/* oklch */ color: oklch(56.0% 0.214 281.2);
Tailwind
colors: {
  custom: {
    50: '#9e88f3',
    500: '#6658ec',
    950: '#000000',
  },
}
SCSS
$custom: #6658ec;
$custom-light: #9e88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6658ec",
  "rgb": {
    "r": 102,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 245.676,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56045,
    "c": 0.21415,
    "h": 281.2
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#6658EC
secondary
#E5EAB6
accent
#DC0AC8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6658EC

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

Preview Lab → · Contrast checker → · Palette generator →

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