#665EC2#665EC2

#665EC2 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.151 H 283.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#665EC2
RGBrgb(102, 94, 194)
HSLhsl(245, 45%, 56%)
HSVhsv(245, 52%, 76%)
CMYKcmyk(47.4%, 51.5%, 0%, 23.9%)
CIE-LABlab(45.25, 29.43, -51.58)
CIE-LCHlch(45.25, 59.38, 299.71°)
OKLaboklab(53.99% 0.0359 -0.1468)
OKLCHoklch(53.99% 0.151 283.7)
XYZxyz(19.2169, 14.7243, 52.8580)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EC2 #BAC25E
analogous
#5E88C2 #665EC2 #985EC2
triadic
#665EC2 #C2665E #5EC266
tetradic
#665EC2 #C25E88 #BAC25E #5EC298
square
#665EC2 #C25E88 #BAC25E #5EC298
split-complementary
#665EC2 #C2985E #88C25E
monochromatic
#332E78 #463EA4 #665EC2 #908AD3 #BAB7E4

Accessibility & contrast

On white

5.32
#665EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#665EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EC2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EC2#FFFFFF#000000##FFFFFF
##665EC21.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6EC6
Deuteranopia (green-blind)
#2968C0
Tritanopia (blue-blind)
#467487
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #665ec2;
/* rgb */ color: rgb(102, 94, 194);
/* oklch */ color: oklch(54.0% 0.151 283.7);
Tailwind
colors: {
  custom: {
    50: '#978bd5',
    500: '#665ec2',
    950: '#000000',
  },
}
SCSS
$custom: #665ec2;
$custom-light: #978bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#665ec2",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 244.8,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.15116,
    "h": 283.7
  },
  "luminance": 0.14725
}

Semantic roles & 50–950 ramp

primary
#665EC2
secondary
#CFD2A9
accent
#D553CA
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #665EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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