#6659EB#6659EB

#6659EB is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.1% C 0.212 H 281.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6659EB
RGBrgb(102, 89, 235)
HSLhsl(245, 78%, 64%)
HSVhsv(245, 62%, 92%)
CMYKcmyk(56.6%, 62.1%, 0%, 7.8%)
CIE-LABlab(46.93, 44.97, -72.27)
CIE-LCHlch(46.93, 85.12, 301.89°)
OKLaboklab(56.12% 0.0409 -0.2077)
OKLCHoklch(56.12% 0.212 281.1)
XYZxyz(24.0426, 15.9661, 80.3960)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6659EB #DEEB59
analogous
#5995EB #6659EB #AF59EB
triadic
#6659EB #EB6659 #59EB66
tetradic
#6659EB #EB5995 #DEEB59 #59EBAF
square
#6659EB #EB5995 #DEEB59 #59EBAF
split-complementary
#6659EB #EBAF59 #95EB59
monochromatic
#2416B4 #3422E4 #6659EB #9890F2 #CBC6F8

Accessibility & contrast

On white

5.01
#6659EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6659EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6659EB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6659EB#FFFFFF#000000##FFFFFF
##6659EB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#1A7D9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6659eb;
/* rgb */ color: rgb(102, 89, 235);
/* oklch */ color: oklch(56.1% 0.212 281.1);
Tailwind
colors: {
  custom: {
    50: '#9d89f2',
    500: '#6659eb',
    950: '#000000',
  },
}
SCSS
$custom: #6659eb;
$custom-light: #9d89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6659eb",
  "rgb": {
    "r": 102,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 245.342,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56124,
    "c": 0.2117,
    "h": 281.1
  },
  "luminance": 0.15968
}

Semantic roles & 50–950 ramp

primary
#6659EB
secondary
#E5EAB6
accent
#DB0BC8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6659EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6659EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva