#6657CD#6657CD

#6657CD is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.5% C 0.176 H 284.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6657CD
RGBrgb(102, 87, 205)
HSLhsl(248, 54%, 57%)
HSVhsv(248, 58%, 80%)
CMYKcmyk(50.2%, 57.6%, 0%, 19.6%)
CIE-LABlab(44.30, 37.00, -59.46)
CIE-LCHlch(44.30, 70.03, 301.89°)
OKLaboklab(53.51% 0.0441 -0.1701)
OKLCHoklch(53.51% 0.176 284.6)
XYZxyz(19.9038, 14.0479, 59.4085)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6657CD #BECD57
analogous
#5783CD #6657CD #A157CD
triadic
#6657CD #CD6657 #57CD66
tetradic
#6657CD #CD5783 #BECD57 #57CDA1
square
#6657CD #CD5783 #BECD57 #57CDA1
split-complementary
#6657CD #CDA157 #83CD57
monochromatic
#332783 #4535B2 #6657CD #9186DB #BCB5E9

Accessibility & contrast

On white

5.51
#6657CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6657CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6657CD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6657CD#FFFFFF#000000##FFFFFF
##6657CD1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#3F7289
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6657cd;
/* rgb */ color: rgb(102, 87, 205);
/* oklch */ color: oklch(53.5% 0.176 284.6);
Tailwind
colors: {
  custom: {
    50: '#9987dd',
    500: '#6657cd',
    950: '#000000',
  },
}
SCSS
$custom: #6657cd;
$custom-light: #9987dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6657cd",
  "rgb": {
    "r": 102,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 247.627,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53509,
    "c": 0.1757,
    "h": 284.6
  },
  "luminance": 0.14049
}

Semantic roles & 50–950 ramp

primary
#6657CD
secondary
#D2D8A8
accent
#DD4ACB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6657CD

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

Preview Lab → · Contrast checker → · Palette generator →

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