#6657D9#6657D9

#6657D9 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.4% C 0.191 H 283.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6657D9
RGBrgb(102, 87, 217)
HSLhsl(247, 63%, 60%)
HSVhsv(247, 60%, 85%)
CMYKcmyk(53%, 59.9%, 0%, 14.9%)
CIE-LABlab(45.15, 40.64, -64.96)
CIE-LCHlch(45.15, 76.62, 302.03°)
OKLaboklab(54.4% 0.0438 -0.1862)
OKLCHoklch(54.4% 0.191 283.2)
XYZxyz(21.4083, 14.6497, 67.3318)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6657D9 #CAD957
analogous
#5789D9 #6657D9 #A757D9
triadic
#6657D9 #D96657 #57D966
tetradic
#6657D9 #D95789 #CAD957 #57D9A7
square
#6657D9 #D95789 #CAD957 #57D9A7
split-complementary
#6657D9 #D9A757 #89D957
monochromatic
#2F2194 #3E2DC6 #6657D9 #9389E4 #C1BBF0

Accessibility & contrast

On white

5.34
#6657D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6657D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6657D9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6657D9#FFFFFF#000000##FFFFFF
##6657D91.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#357690
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6657d9;
/* rgb */ color: rgb(102, 87, 217);
/* oklch */ color: oklch(54.4% 0.191 283.2);
Tailwind
colors: {
  custom: {
    50: '#9b87e6',
    500: '#6657d9',
    950: '#000000',
  },
}
SCSS
$custom: #6657d9;
$custom-light: #9b87e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6657d9",
  "rgb": {
    "r": 102,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 246.923,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54403,
    "c": 0.19133,
    "h": 283.2
  },
  "luminance": 0.14651
}

Semantic roles & 50–950 ramp

primary
#6657D9
secondary
#D9DFAD
accent
#E642D3
background
#FAF8FE
surface
#F3EFFC
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6657D9

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

Preview Lab → · Contrast checker → · Palette generator →

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