#665AEC#665AEC

#665AEC is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.4% C 0.212 H 280.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#665AEC
RGBrgb(102, 90, 236)
HSLhsl(245, 79%, 64%)
HSVhsv(245, 62%, 93%)
CMYKcmyk(56.8%, 61.9%, 0%, 7.5%)
CIE-LABlab(47.22, 44.69, -72.35)
CIE-LCHlch(47.22, 85.04, 301.71°)
OKLaboklab(56.36% 0.0399 -0.2079)
OKLCHoklch(56.36% 0.212 280.9)
XYZxyz(24.2712, 16.1916, 81.1869)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AEC #E0EC5A
analogous
#5A97EC #665AEC #AF5AEC
triadic
#665AEC #EC665A #5AEC66
tetradic
#665AEC #EC5A97 #E0EC5A #5AECAF
square
#665AEC #EC5A97 #E0EC5A #5AECAF
split-complementary
#665AEC #ECAF5A #97EC5A
monochromatic
#2215B7 #3323E6 #665AEC #9991F2 #CCC8F9

Accessibility & contrast

On white

4.95
#665AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665AEC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AEC#FFFFFF#000000##FFFFFF
##665AEC1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#006BE9
Tritanopia (blue-blind)
#187E9B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #665aec;
/* rgb */ color: rgb(102, 90, 236);
/* oklch */ color: oklch(56.4% 0.212 280.9);
Tailwind
colors: {
  custom: {
    50: '#9d89f3',
    500: '#665aec',
    950: '#000000',
  },
}
SCSS
$custom: #665aec;
$custom-light: #9d89f3;
$custom-dark: #000000;
JSON
{
  "hex": "#665aec",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 244.932,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56363,
    "c": 0.21174,
    "h": 280.9
  },
  "luminance": 0.16193
}

Semantic roles & 50–950 ramp

primary
#665AEC
secondary
#E6EBB7
accent
#DC0ACA
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #665AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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