#6666FF

#6666FF is the hex color MediumSlateBlue. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #6666FF; the exact match is none.

Open #6666FF in the picker

#6666FF color codes

HEX
#6666FF
HEX8
#6666FFFF
HEX8 (Android)
#FF6666FF
RGB
rgb(102, 102, 255)
RGB (%)
40%, 40%, 100%
HSL
hsl(240, 100%, 70%)
HSV / HSB
hsv(240, 60%, 100%)
CMYK
cmyk(60%, 60%, 0%, 0%)
OKLCH
oklch(0.5981 0.2213 277.36)
OKLCH (%)
oklch(59.81% 0.2213 277.36)
Decimal
6711039

What color is #6666FF?

#6666FF sits at 60% lightness and 0.2213 chroma in OKLCH, hue 277.36°. Its nearest named color is MediumSlateBlue.

Shades and tints of #6666FF

Tints

Shades

Tones

#6666FF color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #6666FF in CSS

.text       { color: #6666FF; }
.background { background-color: #6666FF; }
.border     { border: 2px solid #6666FF; }

/* Modern, perceptually uniform */
.text { color: oklch(0.5981 0.2213 277.36); }

/* #6666FF at 50% transparency */
.overlay { background-color: #6666FF80; }

Is #6666FF accessible?

#6666FF on white text scores 4.28:1; on black text it scores 4.91:1. Black text passes WCAG AA for normal text on #6666FF. Recommended text color on a #6666FF background: black.

A 4.91:1 vs black
A 4.28:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Fail
  • AAA large ≥ 4.5 Pass

Recommended text color: black

CSS contrast-color() contrast-color(#6666FF) → black
APCA Lc experimental 74.6 Lc · large / secondary text (white text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

Nearest featured color: Blue #0000FF. See more in the blue family on the colors hub.

Frequently asked questions

What color is #6666FF?
#6666FF is closest to MediumSlateBlue. In RGB it is rgb(102, 102, 255), and in HSL hsl(240, 100%, 70%).
What is #6666FF in RGB?
#6666FF converts to rgb(102, 102, 255) — red 102, green 102, blue 255.
What text color is readable on #6666FF?
Black text — it has the higher contrast ratio (4.91:1) against #6666FF. Black text passes WCAG AA for normal text on #6666FF.
Open #6666FF in the picker