#665ECD#665ECD

#665ECD is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.166 H 282.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#665ECD
RGBrgb(102, 94, 205)
HSLhsl(244, 53%, 59%)
HSVhsv(244, 54%, 80%)
CMYKcmyk(50.2%, 54.1%, 0%, 19.6%)
CIE-LABlab(45.96, 32.79, -56.79)
CIE-LCHlch(45.96, 65.57, 300.00°)
OKLaboklab(54.74% 0.0365 -0.1622)
OKLCHoklch(54.74% 0.166 282.7)
XYZxyz(20.4983, 15.2369, 59.6067)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665ECD #C5CD5E
analogous
#5E8DCD #665ECD #9D5ECD
triadic
#665ECD #CD665E #5ECD66
tetradic
#665ECD #CD5E8D #C5CD5E #5ECD9D
square
#665ECD #CD5E8D #C5CD5E #5ECD9D
split-complementary
#665ECD #CD9D5E #8DCD5E
monochromatic
#312A87 #4138B5 #665ECD #928DDC #BFBBEA

Accessibility & contrast

On white

5.19
#665ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#665ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665ECD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665ECD#FFFFFF#000000##FFFFFF
##665ECD1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E71D1
Deuteranopia (green-blind)
#1269CB
Tritanopia (blue-blind)
#3F778C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665ecd;
/* rgb */ color: rgb(102, 94, 205);
/* oklch */ color: oklch(54.7% 0.166 282.7);
Tailwind
colors: {
  custom: {
    50: '#998cdd',
    500: '#665ecd',
    950: '#000000',
  },
}
SCSS
$custom: #665ecd;
$custom-light: #998cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#665ecd",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 244.324,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.16621,
    "h": 282.7
  },
  "luminance": 0.15238
}

Semantic roles & 50–950 ramp

primary
#665ECD
secondary
#D6D9AD
accent
#DC4CD2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #665ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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