#665DC7#665DC7

#665DC7 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.159 H 283.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#665DC7
RGBrgb(102, 93, 199)
HSLhsl(245, 49%, 57%)
HSVhsv(245, 53%, 78%)
CMYKcmyk(48.7%, 53.3%, 0%, 22%)
CIE-LABlab(45.33, 31.56, -54.35)
CIE-LCHlch(45.33, 62.85, 300.15°)
OKLaboklab(54.14% 0.0373 -0.155)
OKLCHoklch(54.14% 0.159 283.5)
XYZxyz(19.6996, 14.7760, 55.8358)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DC7 #BEC75D
analogous
#5D89C7 #665DC7 #9B5DC7
triadic
#665DC7 #C7665D #5DC766
tetradic
#665DC7 #C75D89 #BEC75D #5DC79B
square
#665DC7 #C75D89 #BEC75D #5DC79B
split-complementary
#665DC7 #C79B5D #89C75D
monochromatic
#332C7E #453BAC #665DC7 #918AD7 #BCB8E6

Accessibility & contrast

On white

5.31
#665DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#665DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DC7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DC7#FFFFFF#000000##FFFFFF
##665DC71.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#1E68C5
Tritanopia (blue-blind)
#437489
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #665dc7;
/* rgb */ color: rgb(102, 93, 199);
/* oklch */ color: oklch(54.1% 0.159 283.5);
Tailwind
colors: {
  custom: {
    50: '#988bd9',
    500: '#665dc7',
    950: '#000000',
  },
}
SCSS
$custom: #665dc7;
$custom-light: #988bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#665dc7",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 245.094,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54142,
    "c": 0.15943,
    "h": 283.5
  },
  "luminance": 0.14777
}

Semantic roles & 50–950 ramp

primary
#665DC7
secondary
#D2D5AA
accent
#D850CD
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #665DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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