#6658EB#6658EB

#6658EB is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.0% C 0.213 H 281.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6658EB
RGBrgb(102, 88, 235)
HSLhsl(246, 79%, 63%)
HSVhsv(246, 63%, 92%)
CMYKcmyk(56.6%, 62.6%, 0%, 7.8%)
CIE-LABlab(46.71, 45.54, -72.62)
CIE-LCHlch(46.71, 85.72, 302.09°)
OKLaboklab(55.97% 0.0418 -0.2088)
OKLCHoklch(55.97% 0.213 281.3)
XYZxyz(23.9599, 15.8008, 80.3685)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6658EB #DDEB58
analogous
#5893EB #6658EB #AF58EB
triadic
#6658EB #EB6658 #58EB66
tetradic
#6658EB #EB5893 #DDEB58 #58EBAF
square
#6658EB #EB5893 #DDEB58 #58EBAF
split-complementary
#6658EB #EBAF58 #93EB58
monochromatic
#2415B3 #3421E4 #6658EB #988FF2 #CAC5F8

Accessibility & contrast

On white

5.05
#6658EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6658EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6658EB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6658EB#FFFFFF#000000##FFFFFF
##6658EB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#1B7C99
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6658eb;
/* rgb */ color: rgb(102, 88, 235);
/* oklch */ color: oklch(56.0% 0.213 281.3);
Tailwind
colors: {
  custom: {
    50: '#9d88f2',
    500: '#6658eb',
    950: '#000000',
  },
}
SCSS
$custom: #6658eb;
$custom-light: #9d88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6658eb",
  "rgb": {
    "r": 102,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 245.714,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55965,
    "c": 0.2129,
    "h": 281.3
  },
  "luminance": 0.15802
}

Semantic roles & 50–950 ramp

primary
#6658EB
secondary
#E5EAB5
accent
#DB0BC7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6658EB

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

Preview Lab → · Contrast checker → · Palette generator →

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