#665EDC#665EDC

#665EDC is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.8% C 0.186 H 281.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#665EDC
RGBrgb(102, 94, 220)
HSLhsl(244, 64%, 62%)
HSVhsv(244, 57%, 86%)
CMYKcmyk(53.6%, 57.3%, 0%, 13.7%)
CIE-LABlab(46.97, 37.41, -63.72)
CIE-LCHlch(46.97, 73.89, 300.42°)
OKLaboklab(55.81% 0.0367 -0.1826)
OKLCHoklch(55.81% 0.186 281.4)
XYZxyz(22.3965, 15.9961, 69.6037)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EDC #D4DC5E
analogous
#5E95DC #665EDC #A55EDC
triadic
#665EDC #DC665E #5EDC66
tetradic
#665EDC #DC5E95 #D4DC5E #5EDCA5
square
#665EDC #DC5E95 #D4DC5E #5EDCA5
split-complementary
#665EDC #DCA55E #95DC5E
monochromatic
#2A229D #372DD0 #665EDC #9690E7 #C6C3F2

Accessibility & contrast

On white

5.00
#665EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#665EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EDC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EDC#FFFFFF#000000##FFFFFF
##665EDC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#317B94
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665edc;
/* rgb */ color: rgb(102, 94, 220);
/* oklch */ color: oklch(55.8% 0.186 281.4);
Tailwind
colors: {
  custom: {
    50: '#9b8ce8',
    500: '#665edc',
    950: '#000000',
  },
}
SCSS
$custom: #665edc;
$custom-light: #9b8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#665edc",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 243.81,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5581,
    "c": 0.18621,
    "h": 281.4
  },
  "luminance": 0.15997
}

Semantic roles & 50–950 ramp

primary
#665EDC
secondary
#DFE2B3
accent
#CC19C1
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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