#666BE5#666BE5

#666BE5 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.8% C 0.181 H 277.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#666BE5
RGBrgb(102, 107, 229)
HSLhsl(238, 71%, 65%)
HSVhsv(238, 55%, 90%)
CMYKcmyk(55.5%, 53.3%, 0%, 10.2%)
CIE-LABlab(50.68, 32.40, -62.81)
CIE-LCHlch(50.68, 70.67, 297.29°)
OKLaboklab(58.77% 0.0236 -0.1798)
OKLCHoklch(58.77% 0.181 277.5)
XYZxyz(24.8755, 18.9956, 76.4693)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BE5 #E5E066
analogous
#66AAE5 #666BE5 #A166E5
triadic
#666BE5 #E5666B #6BE566
tetradic
#666BE5 #E566AA #E5E066 #66E5A1
square
#666BE5 #E566AA #E5E066 #66E5A1
split-complementary
#666BE5 #E5A166 #AAE566
monochromatic
#1E24B2 #3238DC #666BE5 #9A9EEE #CFD0F7

Accessibility & contrast

On white

4.38
#666BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#666BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BE5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BE5#FFFFFF#000000##000000
##666BE51.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#207EE9
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#21879E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #666be5;
/* rgb */ color: rgb(102, 107, 229);
/* oklch */ color: oklch(58.8% 0.181 277.5);
Tailwind
colors: {
  custom: {
    50: '#9b95ee',
    500: '#666be5',
    950: '#000000',
  },
}
SCSS
$custom: #666be5;
$custom-light: #9b95ee;
$custom-dark: #000000;
JSON
{
  "hex": "#666be5",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 229
  },
  "hsl": {
    "h": 237.638,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58765,
    "c": 0.18131,
    "h": 277.5
  },
  "luminance": 0.18997
}

Semantic roles & 50–950 ramp

primary
#666BE5
secondary
#E9E7BE
accent
#CB13D3
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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