#665BD2#665BD2

#665BD2 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.6% C 0.177 H 283.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#665BD2
RGBrgb(102, 91, 210)
HSLhsl(246, 57%, 59%)
HSVhsv(246, 57%, 82%)
CMYKcmyk(51.4%, 56.7%, 0%, 17.6%)
CIE-LABlab(45.58, 36.13, -60.27)
CIE-LCHlch(45.58, 70.27, 300.94°)
OKLaboklab(54.56% 0.0398 -0.1724)
OKLCHoklch(54.56% 0.177 283)
XYZxyz(20.8499, 14.9590, 62.7490)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BD2 #C7D25B
analogous
#5B8CD2 #665BD2 #A25BD2
triadic
#665BD2 #D2665B #5BD266
tetradic
#665BD2 #D25B8C #C7D25B #5BD2A2
square
#665BD2 #D25B8C #C7D25B #5BD2A2
split-complementary
#665BD2 #D2A25B #8CD25B
monochromatic
#30268C #4034BC #665BD2 #938BDF #C0BBEC

Accessibility & contrast

On white

5.26
#665BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#665BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BD2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BD2#FFFFFF#000000##FFFFFF
##665BD21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#3B768E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665bd2;
/* rgb */ color: rgb(102, 91, 210);
/* oklch */ color: oklch(54.6% 0.177 283.0);
Tailwind
colors: {
  custom: {
    50: '#9a8ae1',
    500: '#665bd2',
    950: '#000000',
  },
}
SCSS
$custom: #665bd2;
$custom-light: #9a8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#665bd2",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 245.546,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54562,
    "c": 0.17695,
    "h": 283
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

primary
#665BD2
secondary
#D7DCAD
accent
#E048D2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #665BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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