#6665E2#6665E2

#6665E2 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.5% C 0.185 H 279.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#6665E2
RGBrgb(102, 101, 226)
HSLhsl(240, 68%, 64%)
HSVhsv(240, 55%, 89%)
CMYKcmyk(54.9%, 55.3%, 0%, 11.4%)
CIE-LABlab(49.03, 35.08, -63.78)
CIE-LCHlch(49.03, 72.79, 298.81°)
OKLaboklab(57.47% 0.0296 -0.1827)
OKLCHoklch(57.47% 0.185 279.2)
XYZxyz(23.8563, 17.6216, 74.0810)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6665E2 #E1E265
analogous
#65A3E2 #6665E2 #A565E2
triadic
#6665E2 #E26665 #65E266
tetradic
#6665E2 #E265A3 #E1E265 #65E2A5
square
#6665E2 #E265A3 #E1E265 #65E2A5
split-complementary
#6665E2 #E2A565 #A3E265
monochromatic
#2220AC #3331D8 #6665E2 #9999EC #CCCCF5

Accessibility & contrast

On white

4.64
#6665E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6665E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6665E2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6665E2#FFFFFF#000000##FFFFFF
##6665E21.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#057AE6
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#28829A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6665e2;
/* rgb */ color: rgb(102, 101, 226);
/* oklch */ color: oklch(57.5% 0.185 279.2);
Tailwind
colors: {
  custom: {
    50: '#9b91ec',
    500: '#6665e2',
    950: '#000000',
  },
}
SCSS
$custom: #6665e2;
$custom-light: #9b91ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6665e2",
  "rgb": {
    "r": 102,
    "g": 101,
    "b": 226
  },
  "hsl": {
    "h": 240.48,
    "s": 68.306,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57472,
    "c": 0.18506,
    "h": 279.2
  },
  "luminance": 0.17623
}

Semantic roles & 50–950 ramp

primary
#6665E2
secondary
#E7E7BC
accent
#D015CF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6665E2

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

Preview Lab → · Contrast checker → · Palette generator →

#6665E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva