#665EEB#665EEB

#665EEB is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.9% C 0.206 H 280.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#665EEB
RGBrgb(102, 94, 235)
HSLhsl(243, 78%, 65%)
HSVhsv(243, 60%, 92%)
CMYKcmyk(56.6%, 60%, 0%, 7.8%)
CIE-LABlab(48.04, 42.05, -70.46)
CIE-LCHlch(48.04, 82.06, 300.83°)
OKLaboklab(56.94% 0.0363 -0.2024)
OKLCHoklch(56.94% 0.206 280.2)
XYZxyz(24.4729, 16.8267, 80.5394)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EEB #E3EB5E
analogous
#5E9DEB #665EEB #AC5EEB
triadic
#665EEB #EB665E #5EEB66
tetradic
#665EEB #EB5E9D #E3EB5E #5EEBAC
square
#665EEB #EB5E9D #E3EB5E #5EEBAC
split-complementary
#665EEB #EBAC5E #9DEB5E
monochromatic
#2017B8 #3228E4 #665EEB #9A94F2 #CDCBF9

Accessibility & contrast

On white

4.81
#665EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#665EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EEB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EEB#FFFFFF#000000##FFFFFF
##665EEB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#19809C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #665eeb;
/* rgb */ color: rgb(102, 94, 235);
/* oklch */ color: oklch(56.9% 0.206 280.2);
Tailwind
colors: {
  custom: {
    50: '#9d8cf2',
    500: '#665eeb',
    950: '#000000',
  },
}
SCSS
$custom: #665eeb;
$custom-light: #9d8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#665eeb",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 243.404,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56938,
    "c": 0.20561,
    "h": 280.2
  },
  "luminance": 0.16828
}

Semantic roles & 50–950 ramp

primary
#665EEB
secondary
#E8EBBA
accent
#DA0BCE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #665EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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