#665FDC#665FDC

#665FDC is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.0% C 0.185 H 281.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#665FDC
RGBrgb(102, 95, 220)
HSLhsl(243, 64%, 62%)
HSVhsv(243, 57%, 86%)
CMYKcmyk(53.6%, 56.8%, 0%, 13.7%)
CIE-LABlab(47.20, 36.81, -63.34)
CIE-LCHlch(47.20, 73.26, 300.16°)
OKLaboklab(55.98% 0.0357 -0.1814)
OKLCHoklch(55.98% 0.185 281.1)
XYZxyz(22.4860, 16.1751, 69.6335)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FDC #D5DC5F
analogous
#5F97DC #665FDC #A55FDC
triadic
#665FDC #DC665F #5FDC66
tetradic
#665FDC #DC5F97 #D5DC5F #5FDCA5
square
#665FDC #DC5F97 #D5DC5F #5FDCA5
split-complementary
#665FDC #DCA55F #97DC5F
monochromatic
#29239E #372ED0 #665FDC #9691E7 #C6C3F2

Accessibility & contrast

On white

4.96
#665FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#665FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FDC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FDC#FFFFFF#000000##FFFFFF
##665FDC1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#307C94
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #665fdc;
/* rgb */ color: rgb(102, 95, 220);
/* oklch */ color: oklch(56.0% 0.185 281.1);
Tailwind
colors: {
  custom: {
    50: '#9b8ce8',
    500: '#665fdc',
    950: '#000000',
  },
}
SCSS
$custom: #665fdc;
$custom-light: #9b8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#665fdc",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 243.36,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55983,
    "c": 0.18491,
    "h": 281.1
  },
  "luminance": 0.16177
}

Semantic roles & 50–950 ramp

primary
#665FDC
secondary
#E0E3B4
accent
#CC1AC2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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