#665CCE#665CCE

#665CCE is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.4% C 0.170 H 283.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#665CCE
RGBrgb(102, 92, 206)
HSLhsl(245, 54%, 58%)
HSVhsv(245, 55%, 81%)
CMYKcmyk(50.5%, 55.3%, 0%, 19.2%)
CIE-LABlab(45.54, 34.30, -58.03)
CIE-LCHlch(45.54, 67.41, 300.59°)
OKLaboklab(54.45% 0.0387 -0.1658)
OKLCHoklch(54.45% 0.17 283.1)
XYZxyz(20.4439, 14.9342, 60.1859)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CCE #C4CE5C
analogous
#5C8BCE #665CCE #9F5CCE
triadic
#665CCE #CE665C #5CCE66
tetradic
#665CCE #CE5C8B #C4CE5C #5CCE9F
square
#665CCE #CE5C8B #C4CE5C #5CCE9F
split-complementary
#665CCE #CE9F5C #8BCE5C
monochromatic
#312987 #4237B6 #665CCE #928BDC #BEBAEA

Accessibility & contrast

On white

5.27
#665CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665CCE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CCE#FFFFFF#000000##FFFFFF
##665CCE1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1370D2
Deuteranopia (green-blind)
#0168CC
Tritanopia (blue-blind)
#3E768C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665cce;
/* rgb */ color: rgb(102, 92, 206);
/* oklch */ color: oklch(54.4% 0.170 283.1);
Tailwind
colors: {
  custom: {
    50: '#998ade',
    500: '#665cce',
    950: '#000000',
  },
}
SCSS
$custom: #665cce;
$custom-light: #998ade;
$custom-dark: #000000;
JSON
{
  "hex": "#665cce",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 245.263,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5445,
    "c": 0.17027,
    "h": 283.1
  },
  "luminance": 0.14935
}

Semantic roles & 50–950 ramp

primary
#665CCE
secondary
#D6DAAC
accent
#DD4BD0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #665CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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