#665FC7#665FC7

#665FC7 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.157 H 282.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#665FC7
RGBrgb(102, 95, 199)
HSLhsl(244, 48%, 58%)
HSVhsv(244, 52%, 78%)
CMYKcmyk(48.7%, 52.3%, 0%, 22%)
CIE-LABlab(45.81, 30.35, -53.56)
CIE-LCHlch(45.81, 61.56, 299.53°)
OKLaboklab(54.51% 0.035 -0.1527)
OKLCHoklch(54.51% 0.157 282.9)
XYZxyz(19.8774, 15.1317, 55.8951)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FC7 #C0C75F
analogous
#5F8CC7 #665FC7 #9A5FC7
triadic
#665FC7 #C7665F #5FC766
tetradic
#665FC7 #C75F8C #C0C75F #5FC79A
square
#665FC7 #C75F8C #C0C75F #5FC79A
split-complementary
#665FC7 #C79A5F #8CC75F
monochromatic
#322C7F #443CAC #665FC7 #918CD7 #BDBAE7

Accessibility & contrast

On white

5.22
#665FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#665FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FC7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FC7#FFFFFF#000000##FFFFFF
##665FC71.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B70CB
Deuteranopia (green-blind)
#2369C5
Tritanopia (blue-blind)
#43768A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665fc7;
/* rgb */ color: rgb(102, 95, 199);
/* oklch */ color: oklch(54.5% 0.157 282.9);
Tailwind
colors: {
  custom: {
    50: '#988cd9',
    500: '#665fc7',
    950: '#000000',
  },
}
SCSS
$custom: #665fc7;
$custom-light: #988cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#665fc7",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 244.038,
    "s": 48.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54506,
    "c": 0.15665,
    "h": 282.9
  },
  "luminance": 0.15133
}

Semantic roles & 50–950 ramp

primary
#665FC7
secondary
#D3D6AC
accent
#D850CF
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #665FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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