#6658F2#6658F2

#6658F2 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.5% C 0.222 H 280.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6658F2
RGBrgb(102, 88, 242)
HSLhsl(245, 86%, 65%)
HSVhsv(245, 64%, 95%)
CMYKcmyk(57.9%, 63.6%, 0%, 5.1%)
CIE-LABlab(47.25, 47.68, -75.67)
CIE-LCHlch(47.25, 89.44, 302.21°)
OKLaboklab(56.53% 0.0412 -0.2177)
OKLCHoklch(56.53% 0.222 280.7)
XYZxyz(24.9912, 16.2133, 85.7997)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6658F2 #E4F258
analogous
#5897F2 #6658F2 #B358F2
triadic
#6658F2 #F26658 #58F266
tetradic
#6658F2 #F25897 #E4F258 #58F2B3
square
#6658F2 #F25897 #E4F258 #58F2B3
split-complementary
#6658F2 #F2B358 #97F258
monochromatic
#1F0FC1 #321FEE #6658F2 #9A91F6 #CECAFB

Accessibility & contrast

On white

4.95
#6658F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#6658F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6658F2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6658F2#FFFFFF#000000##FFFFFF
##6658F21.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)
#0076F7
Deuteranopia (green-blind)
#006AEF
Tritanopia (blue-blind)
#027F9D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6658f2;
/* rgb */ color: rgb(102, 88, 242);
/* oklch */ color: oklch(56.5% 0.222 280.7);
Tailwind
colors: {
  custom: {
    50: '#9e88f7',
    500: '#6658f2',
    950: '#000000',
  },
}
SCSS
$custom: #6658f2;
$custom-light: #9e88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6658f2",
  "rgb": {
    "r": 102,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 245.455,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.56528,
    "c": 0.22158,
    "h": 280.7
  },
  "luminance": 0.16215
}

Semantic roles & 50–950 ramp

primary
#6658F2
secondary
#E9EDB8
accent
#E203CE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6658F2

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

Preview Lab → · Contrast checker → · Palette generator →

#6658F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva