#665ED4#665ED4

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

Color values

HEX#665ED4
RGBrgb(102, 94, 212)
HSLhsl(244, 58%, 60%)
HSVhsv(244, 56%, 83%)
CMYKcmyk(51.9%, 55.7%, 0%, 16.9%)
CIE-LABlab(46.42, 34.94, -60.05)
CIE-LCHlch(46.42, 69.47, 300.19°)
OKLaboklab(55.23% 0.0366 -0.1718)
OKLCHoklch(55.23% 0.176 282)
XYZxyz(21.3622, 15.5824, 64.1567)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665ED4 #CCD45E
analogous
#5E91D4 #665ED4 #A15ED4
triadic
#665ED4 #D4665E #5ED466
tetradic
#665ED4 #D45E91 #CCD45E #5ED4A1
square
#665ED4 #D45E91 #CCD45E #5ED4A1
split-complementary
#665ED4 #D4A15E #91D45E
monochromatic
#2E2791 #3D34C1 #665ED4 #948EE1 #C2BFEE

Accessibility & contrast

On white

5.10
#665ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#665ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665ED4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665ED4#FFFFFF#000000##FFFFFF
##665ED41.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A72D8
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#397990
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665ed4;
/* rgb */ color: rgb(102, 94, 212);
/* oklch */ color: oklch(55.2% 0.176 282.0);
Tailwind
colors: {
  custom: {
    50: '#9a8ce2',
    500: '#665ed4',
    950: '#000000',
  },
}
SCSS
$custom: #665ed4;
$custom-light: #9a8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#665ed4",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 212
  },
  "hsl": {
    "h": 244.068,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.5523,
    "c": 0.17561,
    "h": 282
  },
  "luminance": 0.15584
}

Semantic roles & 50–950 ramp

primary
#665ED4
secondary
#DBDEB0
accent
#E147D7
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #665ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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