#6657EA#6657EA

#6657EA is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.7% C 0.213 H 281.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6657EA
RGBrgb(102, 87, 234)
HSLhsl(246, 78%, 63%)
HSVhsv(246, 63%, 92%)
CMYKcmyk(56.4%, 62.8%, 0%, 8.2%)
CIE-LABlab(46.42, 45.81, -72.54)
CIE-LCHlch(46.42, 85.79, 302.28°)
OKLaboklab(55.73% 0.0427 -0.2085)
OKLCHoklch(55.73% 0.213 281.6)
XYZxyz(23.7343, 15.5801, 79.5825)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6657EA #DBEA57
analogous
#5792EA #6657EA #AF57EA
triadic
#6657EA #EA6657 #57EA66
tetradic
#6657EA #EA5792 #DBEA57 #57EAAF
square
#6657EA #EA5792 #DBEA57 #57EAAF
split-complementary
#6657EA #EAAF57 #92EA57
monochromatic
#2616B1 #3421E3 #6657EA #988DF1 #C9C4F8

Accessibility & contrast

On white

5.10
#6657EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6657EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6657EA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6657EA#FFFFFF#000000##FFFFFF
##6657EA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0069E7
Tritanopia (blue-blind)
#1D7B99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6657ea;
/* rgb */ color: rgb(102, 87, 234);
/* oklch */ color: oklch(55.7% 0.213 281.6);
Tailwind
colors: {
  custom: {
    50: '#9d87f2',
    500: '#6657ea',
    950: '#000000',
  },
}
SCSS
$custom: #6657ea;
$custom-light: #9d87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6657ea",
  "rgb": {
    "r": 102,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 246.122,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55727,
    "c": 0.21285,
    "h": 281.6
  },
  "luminance": 0.15582
}

Semantic roles & 50–950 ramp

primary
#6657EA
secondary
#E3E9B4
accent
#DA0BC5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6657EA

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

Preview Lab → · Contrast checker → · Palette generator →

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