#665ED5#665ED5

#665ED5 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.3% C 0.177 H 282.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#665ED5
RGBrgb(102, 94, 213)
HSLhsl(244, 59%, 60%)
HSVhsv(244, 56%, 84%)
CMYKcmyk(52.1%, 55.9%, 0%, 16.5%)
CIE-LABlab(46.49, 35.25, -60.51)
CIE-LCHlch(46.49, 70.03, 300.22°)
OKLaboklab(55.3% 0.0367 -0.1731)
OKLCHoklch(55.3% 0.177 282)
XYZxyz(21.4888, 15.6331, 64.8231)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665ED5 #CDD55E
analogous
#5E91D5 #665ED5 #A25ED5
triadic
#665ED5 #D5665E #5ED566
tetradic
#665ED5 #D55E91 #CDD55E #5ED5A2
square
#665ED5 #D55E91 #CDD55E #5ED5A2
split-complementary
#665ED5 #D5A25E #91D55E
monochromatic
#2D2692 #3D33C3 #665ED5 #948FE2 #C2BFEE

Accessibility & contrast

On white

5.09
#665ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#665ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665ED5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665ED5#FFFFFF#000000##FFFFFF
##665ED51.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0672D9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#387990
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665ed5;
/* rgb */ color: rgb(102, 94, 213);
/* oklch */ color: oklch(55.3% 0.177 282.0);
Tailwind
colors: {
  custom: {
    50: '#9a8ce3',
    500: '#665ed5',
    950: '#000000',
  },
}
SCSS
$custom: #665ed5;
$custom-light: #9a8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#665ed5",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 244.034,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55302,
    "c": 0.17695,
    "h": 282
  },
  "luminance": 0.15634
}

Semantic roles & 50–950 ramp

primary
#665ED5
secondary
#DBDEB1
accent
#C61FBB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C15
muted
#7E7D84

Preview Lab

Preview with #665ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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