#6659EF#6659EF

#6659EF is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.4% C 0.217 H 280.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6659EF
RGBrgb(102, 89, 239)
HSLhsl(245, 82%, 64%)
HSVhsv(245, 63%, 94%)
CMYKcmyk(57.3%, 62.8%, 0%, 6.3%)
CIE-LABlab(47.24, 46.19, -74.02)
CIE-LCHlch(47.24, 87.25, 301.97°)
OKLaboklab(56.44% 0.0406 -0.2129)
OKLCHoklch(56.44% 0.217 280.8)
XYZxyz(24.6270, 16.1999, 83.4738)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6659EF #E2EF59
analogous
#5997EF #6659EF #B159EF
triadic
#6659EF #EF6659 #59EF66
tetradic
#6659EF #EF5997 #E2EF59 #59EFB1
square
#6659EF #EF5997 #E2EF59 #59EFB1
split-complementary
#6659EF #EFB159 #97EF59
monochromatic
#2112BC #3321EA #6659EF #9991F4 #CDC9FA

Accessibility & contrast

On white

4.95
#6659EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#6659EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6659EF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6659EF#FFFFFF#000000##FFFFFF
##6659EF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#0F7E9C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6659ef;
/* rgb */ color: rgb(102, 89, 239);
/* oklch */ color: oklch(56.4% 0.217 280.8);
Tailwind
colors: {
  custom: {
    50: '#9e89f5',
    500: '#6659ef',
    950: '#000000',
  },
}
SCSS
$custom: #6659ef;
$custom-light: #9e89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6659ef",
  "rgb": {
    "r": 102,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 245.2,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.21669,
    "h": 280.8
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

primary
#6659EF
secondary
#E7ECB8
accent
#DF07CC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6659EF

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

Preview Lab → · Contrast checker → · Palette generator →

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