#6657EE#6657EE

#6657EE is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.0% C 0.218 H 281.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6657EE
RGBrgb(102, 87, 238)
HSLhsl(246, 82%, 64%)
HSVhsv(246, 63%, 93%)
CMYKcmyk(57.1%, 63.4%, 0%, 6.7%)
CIE-LABlab(46.73, 47.03, -74.29)
CIE-LCHlch(46.73, 87.92, 302.34°)
OKLaboklab(56.05% 0.0424 -0.2136)
OKLCHoklch(56.05% 0.218 281.2)
XYZxyz(24.3155, 15.8126, 82.6432)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6657EE #DFEE57
analogous
#5793EE #6657EE #B157EE
triadic
#6657EE #EE6657 #57EE66
tetradic
#6657EE #EE5793 #DFEE57 #57EEB1
square
#6657EE #EE5793 #DFEE57 #57EEB1
split-complementary
#6657EE #EEB157 #93EE57
monochromatic
#2313B8 #331FE8 #6657EE #998FF4 #CBC6F9

Accessibility & contrast

On white

5.04
#6657EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6657EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6657EE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6657EE#FFFFFF#000000##FFFFFF
##6657EE1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F3
Deuteranopia (green-blind)
#0069EB
Tritanopia (blue-blind)
#137D9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6657ee;
/* rgb */ color: rgb(102, 87, 238);
/* oklch */ color: oklch(56.0% 0.218 281.2);
Tailwind
colors: {
  custom: {
    50: '#9e87f5',
    500: '#6657ee',
    950: '#000000',
  },
}
SCSS
$custom: #6657ee;
$custom-light: #9e87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6657ee",
  "rgb": {
    "r": 102,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 245.96,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.21781,
    "h": 281.2
  },
  "luminance": 0.15814
}

Semantic roles & 50–950 ramp

primary
#6657EE
secondary
#E6EBB6
accent
#DE08C9
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6657EE

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

Preview Lab → · Contrast checker → · Palette generator →

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