#665FD7#665FD7

#665FD7 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.6% C 0.178 H 281.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#665FD7
RGBrgb(102, 95, 215)
HSLhsl(244, 60%, 61%)
HSVhsv(244, 56%, 84%)
CMYKcmyk(52.6%, 55.8%, 0%, 15.7%)
CIE-LABlab(46.86, 35.26, -61.05)
CIE-LCHlch(46.86, 70.50, 300.01°)
OKLaboklab(55.62% 0.0356 -0.1747)
OKLCHoklch(55.62% 0.178 281.5)
XYZxyz(21.8337, 15.9142, 66.1981)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FD7 #D0D75F
analogous
#5F94D7 #665FD7 #A25FD7
triadic
#665FD7 #D7665F #5FD766
tetradic
#665FD7 #D75F94 #D0D75F #5FD7A2
square
#665FD7 #D75F94 #D0D75F #5FD7A2
split-complementary
#665FD7 #D7A25F #94D75F
monochromatic
#2C2696 #3A32C7 #665FD7 #9590E3 #C4C1EF

Accessibility & contrast

On white

5.02
#665FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#665FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FD7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FD7#FFFFFF#000000##FFFFFF
##665FD71.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0573DB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#367B92
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665fd7;
/* rgb */ color: rgb(102, 95, 215);
/* oklch */ color: oklch(55.6% 0.178 281.5);
Tailwind
colors: {
  custom: {
    50: '#9a8ce4',
    500: '#665fd7',
    950: '#000000',
  },
}
SCSS
$custom: #665fd7;
$custom-light: #9a8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#665fd7",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 243.5,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55621,
    "c": 0.17828,
    "h": 281.5
  },
  "luminance": 0.15915
}

Semantic roles & 50–950 ramp

primary
#665FD7
secondary
#DDE0B2
accent
#C81EBE
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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