#666BE0#666BE0

#666BE0 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.4% C 0.175 H 277.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#666BE0
RGBrgb(102, 107, 224)
HSLhsl(238, 66%, 64%)
HSVhsv(238, 54%, 88%)
CMYKcmyk(54.5%, 52.2%, 0%, 12.2%)
CIE-LABlab(50.36, 30.82, -60.51)
CIE-LCHlch(50.36, 67.91, 296.99°)
OKLaboklab(58.42% 0.0233 -0.173)
OKLCHoklch(58.42% 0.175 277.7)
XYZxyz(24.1875, 18.7204, 72.8454)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BE0 #E0DB66
analogous
#66A8E0 #666BE0 #9E66E0
triadic
#666BE0 #E0666B #6BE066
tetradic
#666BE0 #E066A8 #E0DB66 #66E09E
square
#666BE0 #E066A8 #E0DB66 #66E09E
split-complementary
#666BE0 #E09E66 #A8E066
monochromatic
#2228A9 #333AD6 #666BE0 #999CEA #CCCDF5

Accessibility & contrast

On white

4.43
#666BE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#666BE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BE0
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BE0#FFFFFF#000000##000000
##666BE01.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#297DE4
Deuteranopia (green-blind)
#1173DE
Tritanopia (blue-blind)
#29859B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #666be0;
/* rgb */ color: rgb(102, 107, 224);
/* oklch */ color: oklch(58.4% 0.175 277.7);
Tailwind
colors: {
  custom: {
    50: '#9b95ea',
    500: '#666be0',
    950: '#000000',
  },
}
SCSS
$custom: #666be0;
$custom-light: #9b95ea;
$custom-dark: #000000;
JSON
{
  "hex": "#666be0",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 224
  },
  "hsl": {
    "h": 237.541,
    "s": 66.304,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58419,
    "c": 0.17459,
    "h": 277.7
  },
  "luminance": 0.18722
}

Semantic roles & 50–950 ramp

primary
#666BE0
secondary
#E6E5BC
accent
#C717CE
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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