#665EC7#665EC7

#665EC7 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.3% C 0.158 H 283.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#665EC7
RGBrgb(102, 94, 199)
HSLhsl(245, 48%, 57%)
HSVhsv(245, 53%, 78%)
CMYKcmyk(48.7%, 52.8%, 0%, 22%)
CIE-LABlab(45.57, 30.95, -53.96)
CIE-LCHlch(45.57, 62.21, 299.84°)
OKLaboklab(54.32% 0.0362 -0.1538)
OKLCHoklch(54.32% 0.158 283.2)
XYZxyz(19.7879, 14.9527, 55.8653)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EC7 #BFC75E
analogous
#5E8BC7 #665EC7 #9A5EC7
triadic
#665EC7 #C7665E #5EC766
tetradic
#665EC7 #C75E8B #BFC75E #5EC79A
square
#665EC7 #C75E8B #BFC75E #5EC79A
split-complementary
#665EC7 #C79A5E #8BC75E
monochromatic
#322C7F #443CAC #665EC7 #918BD7 #BCB9E7

Accessibility & contrast

On white

5.26
#665EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#665EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EC7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EC7#FFFFFF#000000##FFFFFF
##665EC71.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286FCB
Deuteranopia (green-blind)
#2168C5
Tritanopia (blue-blind)
#437589
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665ec7;
/* rgb */ color: rgb(102, 94, 199);
/* oklch */ color: oklch(54.3% 0.158 283.2);
Tailwind
colors: {
  custom: {
    50: '#988cd9',
    500: '#665ec7',
    950: '#000000',
  },
}
SCSS
$custom: #665ec7;
$custom-light: #988cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#665ec7",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 244.571,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54323,
    "c": 0.15804,
    "h": 283.2
  },
  "luminance": 0.14954
}

Semantic roles & 50–950 ramp

primary
#665EC7
secondary
#D2D6AB
accent
#D850CE
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #665EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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