#6658EF#6658EF

#6658EF is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.3% C 0.218 H 281.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6658EF
RGBrgb(102, 88, 239)
HSLhsl(246, 83%, 64%)
HSVhsv(246, 63%, 94%)
CMYKcmyk(57.3%, 63.2%, 0%, 6.3%)
CIE-LABlab(47.02, 46.76, -74.37)
CIE-LCHlch(47.02, 87.85, 302.16°)
OKLaboklab(56.29% 0.0414 -0.2139)
OKLCHoklch(56.29% 0.218 281)
XYZxyz(24.5443, 16.0346, 83.4462)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6658EF #E1EF58
analogous
#5896EF #6658EF #B258EF
triadic
#6658EF #EF6658 #58EF66
tetradic
#6658EF #EF5896 #E1EF58 #58EFB2
square
#6658EF #EF5896 #E1EF58 #58EFB2
split-complementary
#6658EF #EFB258 #96EF58
monochromatic
#2212BB #3320EA #6658EF #9990F4 #CCC8FA

Accessibility & contrast

On white

4.99
#6658EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#6658EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6658EF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6658EF#FFFFFF#000000##FFFFFF
##6658EF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#107E9C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6658ef;
/* rgb */ color: rgb(102, 88, 239);
/* oklch */ color: oklch(56.3% 0.218 281.0);
Tailwind
colors: {
  custom: {
    50: '#9e88f5',
    500: '#6658ef',
    950: '#000000',
  },
}
SCSS
$custom: #6658ef;
$custom-light: #9e88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6658ef",
  "rgb": {
    "r": 102,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 245.563,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56285,
    "c": 0.21788,
    "h": 281
  },
  "luminance": 0.16036
}

Semantic roles & 50–950 ramp

primary
#6658EF
secondary
#E7ECB7
accent
#DF07CB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6658EF

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

Preview Lab → · Contrast checker → · Palette generator →

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