#6657E8#6657E8

#6657E8 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.6% C 0.210 H 281.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6657E8
RGBrgb(102, 87, 232)
HSLhsl(246, 76%, 63%)
HSVhsv(246, 63%, 91%)
CMYKcmyk(56%, 62.5%, 0%, 9%)
CIE-LABlab(46.27, 45.20, -71.66)
CIE-LCHlch(46.27, 84.73, 302.24°)
OKLaboklab(55.57% 0.0429 -0.2059)
OKLCHoklch(55.57% 0.21 281.8)
XYZxyz(23.4487, 15.4659, 78.0779)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6657E8 #D9E857
analogous
#5790E8 #6657E8 #AF57E8
triadic
#6657E8 #E86657 #57E866
tetradic
#6657E8 #E85790 #D9E857 #57E8AF
square
#6657E8 #E85790 #D9E857 #57E8AF
split-complementary
#6657E8 #E8AF57 #90E857
monochromatic
#2718AD #3521E1 #6657E8 #978DEF #C8C3F7

Accessibility & contrast

On white

5.13
#6657E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6657E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6657E8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6657E8#FFFFFF#000000##FFFFFF
##6657E81.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6657e8;
/* rgb */ color: rgb(102, 87, 232);
/* oklch */ color: oklch(55.6% 0.210 281.8);
Tailwind
colors: {
  custom: {
    50: '#9d87f0',
    500: '#6657e8',
    950: '#000000',
  },
}
SCSS
$custom: #6657e8;
$custom-light: #9d87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6657e8",
  "rgb": {
    "r": 102,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 246.207,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55568,
    "c": 0.21035,
    "h": 281.8
  },
  "luminance": 0.15467
}

Semantic roles & 50–950 ramp

primary
#6657E8
secondary
#E2E8B3
accent
#D80DC3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6657E8

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

Preview Lab → · Contrast checker → · Palette generator →

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