#6657DB#6657DB

#6657DB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.6% C 0.194 H 283.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6657DB
RGBrgb(102, 87, 219)
HSLhsl(247, 65%, 60%)
HSVhsv(247, 60%, 86%)
CMYKcmyk(53.4%, 60.3%, 0%, 14.1%)
CIE-LABlab(45.30, 41.25, -65.86)
CIE-LCHlch(45.30, 77.71, 302.06°)
OKLaboklab(54.56% 0.0437 -0.1889)
OKLCHoklch(54.56% 0.194 283)
XYZxyz(21.6700, 14.7544, 68.7101)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6657DB #CCDB57
analogous
#578ADB #6657DB #A857DB
triadic
#6657DB #DB6657 #57DB66
tetradic
#6657DB #DB578A #CCDB57 #57DBA8
square
#6657DB #DB578A #CCDB57 #57DBA8
split-complementary
#6657DB #DBA857 #8ADB57
monochromatic
#2E2097 #3D2BCA #6657DB #9489E6 #C2BCF1

Accessibility & contrast

On white

5.31
#6657DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6657DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6657DB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6657DB#FFFFFF#000000##FFFFFF
##6657DB1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#337791
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6657db;
/* rgb */ color: rgb(102, 87, 219);
/* oklch */ color: oklch(54.6% 0.194 283.0);
Tailwind
colors: {
  custom: {
    50: '#9b87e7',
    500: '#6657db',
    950: '#000000',
  },
}
SCSS
$custom: #6657db;
$custom-light: #9b87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6657db",
  "rgb": {
    "r": 102,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 246.818,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.54555,
    "c": 0.1939,
    "h": 283
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

primary
#6657DB
secondary
#DBE0AD
accent
#E840D5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6657DB

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

Preview Lab → · Contrast checker → · Palette generator →

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