#665CDC#665CDC

#665CDC is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.5% C 0.189 H 281.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#665CDC
RGBrgb(102, 92, 220)
HSLhsl(245, 65%, 61%)
HSVhsv(245, 58%, 86%)
CMYKcmyk(53.6%, 58.2%, 0%, 13.7%)
CIE-LABlab(46.51, 38.60, -64.47)
CIE-LCHlch(46.51, 75.14, 300.91°)
OKLaboklab(55.47% 0.0387 -0.1848)
OKLCHoklch(55.47% 0.189 281.8)
XYZxyz(22.2209, 15.6450, 69.5452)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CDC #D2DC5C
analogous
#5C92DC #665CDC #A65CDC
triadic
#665CDC #DC665C #5CDC66
tetradic
#665CDC #DC5C92 #D2DC5C #5CDCA6
square
#665CDC #DC5C92 #D2DC5C #5CDCA6
split-complementary
#665CDC #DCA65C #92DC5C
monochromatic
#2B229C #392CCE #665CDC #958EE7 #C5C1F2

Accessibility & contrast

On white

5.09
#665CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#665CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CDC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CDC#FFFFFF#000000##FFFFFF
##665CDC1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#317A93
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665cdc;
/* rgb */ color: rgb(102, 92, 220);
/* oklch */ color: oklch(55.5% 0.189 281.8);
Tailwind
colors: {
  custom: {
    50: '#9b8ae8',
    500: '#665cdc',
    950: '#000000',
  },
}
SCSS
$custom: #665cdc;
$custom-light: #9b8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#665cdc",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 244.688,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55467,
    "c": 0.18879,
    "h": 281.8
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#665CDC
secondary
#DEE2B2
accent
#CC19BE
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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