#665BCB#665BCB

#665BCB is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.1% C 0.168 H 283.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#665BCB
RGBrgb(102, 91, 203)
HSLhsl(246, 52%, 58%)
HSVhsv(246, 55%, 80%)
CMYKcmyk(49.8%, 55.2%, 0%, 20.4%)
CIE-LABlab(45.11, 33.99, -57.01)
CIE-LCHlch(45.11, 66.37, 300.81°)
OKLaboklab(54.06% 0.0397 -0.1628)
OKLCHoklch(54.06% 0.168 283.7)
XYZxyz(19.9968, 14.6177, 58.2562)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BCB #C0CB5B
analogous
#5B88CB #665BCB #9E5BCB
triadic
#665BCB #CB665B #5BCB66
tetradic
#665BCB #CB5B88 #C0CB5B #5BCB9E
square
#665BCB #CB5B88 #C0CB5B #5BCB9E
split-complementary
#665BCB #CB9E5B #88CB5B
monochromatic
#322982 #4438B1 #665BCB #9189DA #BDB8E8

Accessibility & contrast

On white

5.35
#665BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#665BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BCB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BCB#FFFFFF#000000##FFFFFF
##665BCB1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166ECF
Deuteranopia (green-blind)
#0967C9
Tritanopia (blue-blind)
#40748A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #665bcb;
/* rgb */ color: rgb(102, 91, 203);
/* oklch */ color: oklch(54.1% 0.168 283.7);
Tailwind
colors: {
  custom: {
    50: '#9989db',
    500: '#665bcb',
    950: '#000000',
  },
}
SCSS
$custom: #665bcb;
$custom-light: #9989db;
$custom-dark: #000000;
JSON
{
  "hex": "#665bcb",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 245.893,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54062,
    "c": 0.16761,
    "h": 283.7
  },
  "luminance": 0.14619
}

Semantic roles & 50–950 ramp

primary
#665BCB
secondary
#D3D7AA
accent
#DB4CCD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #665BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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