#6657C8#6657C8

#6657C8 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.169 H 285.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6657C8
RGBrgb(102, 87, 200)
HSLhsl(248, 51%, 56%)
HSVhsv(248, 57%, 78%)
CMYKcmyk(49%, 56.5%, 0%, 21.6%)
CIE-LABlab(43.96, 35.49, -57.13)
CIE-LCHlch(43.96, 67.25, 301.85°)
OKLaboklab(53.15% 0.0441 -0.1632)
OKLCHoklch(53.15% 0.169 285.1)
XYZxyz(19.3099, 13.8104, 56.2806)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6657C8 #B9C857
analogous
#5781C8 #6657C8 #9F57C8
triadic
#6657C8 #C86657 #57C866
tetradic
#6657C8 #C85781 #B9C857 #57C89F
square
#6657C8 #C85781 #B9C857 #57C89F
split-complementary
#6657C8 #C89F57 #81C857
monochromatic
#34297C #4738AA #6657C8 #9085D7 #BAB3E6

Accessibility & contrast

On white

5.58
#6657C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6657C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6657C8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6657C8#FFFFFF#000000##FFFFFF
##6657C81.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076BCC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#437087
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6657c8;
/* rgb */ color: rgb(102, 87, 200);
/* oklch */ color: oklch(53.1% 0.169 285.1);
Tailwind
colors: {
  custom: {
    50: '#9987d9',
    500: '#6657c8',
    950: '#000000',
  },
}
SCSS
$custom: #6657c8;
$custom-light: #9987d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6657c8",
  "rgb": {
    "r": 102,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 247.965,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53148,
    "c": 0.16907,
    "h": 285.1
  },
  "luminance": 0.13811
}

Semantic roles & 50–950 ramp

primary
#6657C8
secondary
#CED5A6
accent
#DA4EC8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6657C8

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

Preview Lab → · Contrast checker → · Palette generator →

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