#665FEA#665FEA

#665FEA is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.0% C 0.203 H 280.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#665FEA
RGBrgb(102, 95, 234)
HSLhsl(243, 77%, 65%)
HSVhsv(243, 59%, 92%)
CMYKcmyk(56.4%, 59.4%, 0%, 8.2%)
CIE-LABlab(48.19, 41.15, -69.65)
CIE-LCHlch(48.19, 80.90, 300.58°)
OKLaboklab(57.03% 0.0354 -0.2)
OKLCHoklch(57.03% 0.203 280)
XYZxyz(24.4183, 16.9481, 79.8105)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FEA #E3EA5F
analogous
#5F9DEA #665FEA #AC5FEA
triadic
#665FEA #EA665F #5FEA66
tetradic
#665FEA #EA5F9D #E3EA5F #5FEAAC
square
#665FEA #EA5F9D #E3EA5F #5FEAAC
split-complementary
#665FEA #EAAC5F #9DEA5F
monochromatic
#2018B7 #3229E3 #665FEA #9A95F1 #CDCBF8

Accessibility & contrast

On white

4.78
#665FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#665FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FEA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FEA#FFFFFF#000000##FFFFFF
##665FEA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#1B809B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #665fea;
/* rgb */ color: rgb(102, 95, 234);
/* oklch */ color: oklch(57.0% 0.203 280.0);
Tailwind
colors: {
  custom: {
    50: '#9d8df2',
    500: '#665fea',
    950: '#000000',
  },
}
SCSS
$custom: #665fea;
$custom-light: #9d8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#665fea",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 243.022,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57028,
    "c": 0.2031,
    "h": 280
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

primary
#665FEA
secondary
#E8EABA
accent
#D90CCF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #665FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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