#6657EF#6657EF

#6657EF is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.1% C 0.219 H 281.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6657EF
RGBrgb(102, 87, 239)
HSLhsl(246, 83%, 64%)
HSVhsv(246, 64%, 94%)
CMYKcmyk(57.3%, 63.6%, 0%, 6.3%)
CIE-LABlab(46.81, 47.33, -74.72)
CIE-LCHlch(46.81, 88.45, 302.35°)
OKLaboklab(56.13% 0.0423 -0.2149)
OKLCHoklch(56.13% 0.219 281.1)
XYZxyz(24.4628, 15.8715, 83.4191)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6657EF #E0EF57
analogous
#5794EF #6657EF #B257EF
triadic
#6657EF #EF6657 #57EF66
tetradic
#6657EF #EF5794 #E0EF57 #57EFB2
square
#6657EF #EF5794 #E0EF57 #57EFB2
split-complementary
#6657EF #EFB257 #94EF57
monochromatic
#2212BA #331FEA #6657EF #998FF4 #CCC7FA

Accessibility & contrast

On white

5.03
#6657EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6657EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6657EF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6657EF#FFFFFF#000000##FFFFFF
##6657EF1.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)
#0074F4
Deuteranopia (green-blind)
#0069EC
Tritanopia (blue-blind)
#107D9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6657ef;
/* rgb */ color: rgb(102, 87, 239);
/* oklch */ color: oklch(56.1% 0.219 281.1);
Tailwind
colors: {
  custom: {
    50: '#9e87f5',
    500: '#6657ef',
    950: '#000000',
  },
}
SCSS
$custom: #6657ef;
$custom-light: #9e87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6657ef",
  "rgb": {
    "r": 102,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 245.921,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56129,
    "c": 0.21905,
    "h": 281.1
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#6657EF
secondary
#E6ECB6
accent
#DF06CA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6657EF

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

Preview Lab → · Contrast checker → · Palette generator →

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