#666EEB#666EEB

#666EEB is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.7% C 0.185 H 276.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#666EEB
RGBrgb(102, 110, 235)
HSLhsl(236, 77%, 66%)
HSVhsv(236, 57%, 92%)
CMYKcmyk(56.6%, 53.2%, 0%, 7.8%)
CIE-LABlab(51.81, 32.50, -64.36)
CIE-LCHlch(51.81, 72.10, 296.79°)
OKLaboklab(59.73% 0.0209 -0.1843)
OKLCHoklch(59.73% 0.186 276.5)
XYZxyz(26.0460, 19.9729, 81.0638)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EEB #EBE366
analogous
#66B0EB #666EEB #A066EB
triadic
#666EEB #EB666E #6EEB66
tetradic
#666EEB #EB66B0 #EBE366 #66EBA0
square
#666EEB #EB66B0 #EBE366 #66EBA0
split-complementary
#666EEB #EBA066 #B0EB66
monochromatic
#1923BE #303BE4 #666EEB #9CA1F2 #D2D5F9

Accessibility & contrast

On white

4.20
#666EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#666EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666EEB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EEB#FFFFFF#000000##000000
##666EEB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2081EF
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#138BA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666eeb;
/* rgb */ color: rgb(102, 110, 235);
/* oklch */ color: oklch(59.7% 0.185 276.5);
Tailwind
colors: {
  custom: {
    50: '#9c97f2',
    500: '#666eeb',
    950: '#000000',
  },
}
SCSS
$custom: #666eeb;
$custom-light: #9c97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#666eeb",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 236.391,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59731,
    "c": 0.1855,
    "h": 276.5
  },
  "luminance": 0.19975
}

Semantic roles & 50–950 ramp

primary
#666EEB
secondary
#ECEAC1
accent
#CD0CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666EEB

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

Preview Lab → · Contrast checker → · Palette generator →

#666EEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva