#665BE1#665BE1

#665BE1 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.7% C 0.197 H 281.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#665BE1
RGBrgb(102, 91, 225)
HSLhsl(245, 69%, 62%)
HSVhsv(245, 60%, 88%)
CMYKcmyk(54.7%, 59.6%, 0%, 11.8%)
CIE-LABlab(46.63, 40.73, -67.10)
CIE-LCHlch(46.63, 78.50, 301.26°)
OKLaboklab(55.68% 0.0396 -0.1925)
OKLCHoklch(55.68% 0.197 281.6)
XYZxyz(22.8070, 15.7418, 73.0562)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BE1 #D6E15B
analogous
#5B93E1 #665BE1 #A95BE1
triadic
#665BE1 #E1665B #5BE166
tetradic
#665BE1 #E15B93 #D6E15B #5BE1A9
square
#665BE1 #E15B93 #D6E15B #5BE1A9
split-complementary
#665BE1 #E1A95B #93E15B
monochromatic
#291EA4 #3627D7 #665BE1 #968FEA #C7C2F4

Accessibility & contrast

On white

5.06
#665BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#665BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BE1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BE1#FFFFFF#000000##FFFFFF
##665BE11.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#006ADE
Tritanopia (blue-blind)
#2B7B95
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665be1;
/* rgb */ color: rgb(102, 91, 225);
/* oklch */ color: oklch(55.7% 0.197 281.6);
Tailwind
colors: {
  custom: {
    50: '#9c8aeb',
    500: '#665be1',
    950: '#000000',
  },
}
SCSS
$custom: #665be1;
$custom-light: #9c8aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#665be1",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 244.925,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55675,
    "c": 0.19654,
    "h": 281.6
  },
  "luminance": 0.15743
}

Semantic roles & 50–950 ramp

primary
#665BE1
secondary
#E1E5B3
accent
#D114C2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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