#665BCA#665BCA

#665BCA is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.166 H 283.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#665BCA
RGBrgb(102, 91, 202)
HSLhsl(246, 51%, 57%)
HSVhsv(246, 55%, 79%)
CMYKcmyk(49.5%, 55%, 0%, 20.8%)
CIE-LABlab(45.04, 33.69, -56.54)
CIE-LCHlch(45.04, 65.81, 300.79°)
OKLaboklab(53.99% 0.0397 -0.1614)
OKLCHoklch(53.99% 0.166 283.8)
XYZxyz(19.8781, 14.5702, 57.6306)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BCA #BFCA5B
analogous
#5B87CA #665BCA #9E5BCA
triadic
#665BCA #CA665B #5BCA66
tetradic
#665BCA #CA5B87 #BFCA5B #5BCA9E
square
#665BCA #CA5B87 #BFCA5B #5BCA9E
split-complementary
#665BCA #CA9E5B #87CA5B
monochromatic
#322A81 #4439AF #665BCA #9189D9 #BCB8E8

Accessibility & contrast

On white

5.37
#665BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#665BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BCA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BCA#FFFFFF#000000##FFFFFF
##665BCA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186ECE
Deuteranopia (green-blind)
#0D67C8
Tritanopia (blue-blind)
#41748A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #665bca;
/* rgb */ color: rgb(102, 91, 202);
/* oklch */ color: oklch(54.0% 0.166 283.8);
Tailwind
colors: {
  custom: {
    50: '#9989db',
    500: '#665bca',
    950: '#000000',
  },
}
SCSS
$custom: #665bca;
$custom-light: #9989db;
$custom-dark: #000000;
JSON
{
  "hex": "#665bca",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 245.946,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.16626,
    "h": 283.8
  },
  "luminance": 0.14571
}

Semantic roles & 50–950 ramp

primary
#665BCA
secondary
#D2D7AA
accent
#DB4DCD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #665BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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