#665FEC#665FEC

#665FEC is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.2% C 0.206 H 279.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#665FEC
RGBrgb(102, 95, 236)
HSLhsl(243, 79%, 65%)
HSVhsv(243, 60%, 93%)
CMYKcmyk(56.8%, 59.7%, 0%, 7.5%)
CIE-LABlab(48.34, 41.78, -70.54)
CIE-LCHlch(48.34, 81.98, 300.64°)
OKLaboklab(57.18% 0.0353 -0.2026)
OKLCHoklch(57.18% 0.206 279.9)
XYZxyz(24.7073, 17.0637, 81.3323)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FEC #E5EC5F
analogous
#5F9EEC #665FEC #AD5FEC
triadic
#665FEC #EC665F #5FEC66
tetradic
#665FEC #EC5F9E #E5EC5F #5FECAD
square
#665FEC #EC5F9E #E5EC5F #5FECAD
split-complementary
#665FEC #ECAD5F #9EEC5F
monochromatic
#1E16BA #3228E6 #665FEC #9A96F2 #CFCCF9

Accessibility & contrast

On white

4.76
#665FEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#665FEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FEC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FEC#FFFFFF#000000##FFFFFF
##665FEC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#16819C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #665fec;
/* rgb */ color: rgb(102, 95, 236);
/* oklch */ color: oklch(57.2% 0.206 279.9);
Tailwind
colors: {
  custom: {
    50: '#9d8df3',
    500: '#665fec',
    950: '#000000',
  },
}
SCSS
$custom: #665fec;
$custom-light: #9d8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#665fec",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 242.979,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57181,
    "c": 0.20566,
    "h": 279.9
  },
  "luminance": 0.17065
}

Semantic roles & 50–950 ramp

primary
#665FEC
secondary
#E9EBBB
accent
#DB0AD1
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #665FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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