#665BE2#665BE2

#665BE2 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.8% C 0.198 H 281.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#665BE2
RGBrgb(102, 91, 226)
HSLhsl(245, 70%, 62%)
HSVhsv(245, 60%, 89%)
CMYKcmyk(54.9%, 59.7%, 0%, 11.4%)
CIE-LABlab(46.71, 41.04, -67.55)
CIE-LCHlch(46.71, 79.04, 301.28°)
OKLaboklab(55.75% 0.0395 -0.1938)
OKLCHoklch(55.75% 0.198 281.5)
XYZxyz(22.9438, 15.7965, 73.7768)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BE2 #D7E25B
analogous
#5B94E2 #665BE2 #AA5BE2
triadic
#665BE2 #E2665B #5BE266
tetradic
#665BE2 #E25B94 #D7E25B #5BE2AA
square
#665BE2 #E25B94 #D7E25B #5BE2AA
split-complementary
#665BE2 #E2AA5B #94E25B
monochromatic
#281DA5 #3527D9 #665BE2 #978FEB #C7C3F4

Accessibility & contrast

On white

5.05
#665BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#665BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BE2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BE2#FFFFFF#000000##FFFFFF
##665BE21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#2A7B96
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665be2;
/* rgb */ color: rgb(102, 91, 226);
/* oklch */ color: oklch(55.8% 0.198 281.5);
Tailwind
colors: {
  custom: {
    50: '#9c8aec',
    500: '#665be2',
    950: '#000000',
  },
}
SCSS
$custom: #665be2;
$custom-light: #9c8aec;
$custom-dark: #000000;
JSON
{
  "hex": "#665be2",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 244.889,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55751,
    "c": 0.19783,
    "h": 281.5
  },
  "luminance": 0.15798
}

Semantic roles & 50–950 ramp

primary
#665BE2
secondary
#E1E5B4
accent
#D214C2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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