#665DD5#665DD5

#665DD5 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.1% C 0.178 H 282.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#665DD5
RGBrgb(102, 93, 213)
HSLhsl(245, 59%, 60%)
HSVhsv(245, 56%, 84%)
CMYKcmyk(52.1%, 56.3%, 0%, 16.5%)
CIE-LABlab(46.25, 35.85, -60.89)
CIE-LCHlch(46.25, 70.66, 300.49°)
OKLaboklab(55.13% 0.0377 -0.1742)
OKLCHoklch(55.13% 0.178 282.2)
XYZxyz(21.4004, 15.4564, 64.7936)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DD5 #CCD55D
analogous
#5D90D5 #665DD5 #A25DD5
triadic
#665DD5 #D5665D #5DD566
tetradic
#665DD5 #D55D90 #CCD55D #5DD5A2
square
#665DD5 #D55D90 #CCD55D #5DD5A2
split-complementary
#665DD5 #D5A25D #90D55D
monochromatic
#2E2692 #3D32C2 #665DD5 #948EE2 #C2BEEE

Accessibility & contrast

On white

5.13
#665DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#665DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DD5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DD5#FFFFFF#000000##FFFFFF
##665DD51.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#387990
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665dd5;
/* rgb */ color: rgb(102, 93, 213);
/* oklch */ color: oklch(55.1% 0.178 282.2);
Tailwind
colors: {
  custom: {
    50: '#9a8be3',
    500: '#665dd5',
    950: '#000000',
  },
}
SCSS
$custom: #665dd5;
$custom-light: #9a8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#665dd5",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 244.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.55127,
    "c": 0.17827,
    "h": 282.2
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

primary
#665DD5
secondary
#DBDEB0
accent
#E246D6
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C15
muted
#7F7D84

Preview Lab

Preview with #665DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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