#665CCB#665CCB

#665CCB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.2% C 0.166 H 283.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#665CCB
RGBrgb(102, 92, 203)
HSLhsl(245, 52%, 58%)
HSVhsv(245, 55%, 80%)
CMYKcmyk(49.8%, 54.7%, 0%, 20.4%)
CIE-LABlab(45.34, 33.39, -56.62)
CIE-LCHlch(45.34, 65.73, 300.53°)
OKLaboklab(54.24% 0.0386 -0.1617)
OKLCHoklch(54.24% 0.166 283.4)
XYZxyz(20.0829, 14.7898, 58.2848)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CCB #C1CB5C
analogous
#5C8ACB #665CCB #9D5CCB
triadic
#665CCB #CB665C #5CCB66
tetradic
#665CCB #CB5C8A #C1CB5C #5CCB9D
square
#665CCB #CB5C8A #C1CB5C #5CCB9D
split-complementary
#665CCB #CB9D5C #8ACB5C
monochromatic
#322A83 #4339B1 #665CCB #928ADA #BDB9E9

Accessibility & contrast

On white

5.31
#665CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#665CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CCB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CCB#FFFFFF#000000##FFFFFF
##665CCB1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6FCF
Deuteranopia (green-blind)
#0F68C9
Tritanopia (blue-blind)
#40758A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #665ccb;
/* rgb */ color: rgb(102, 92, 203);
/* oklch */ color: oklch(54.2% 0.166 283.4);
Tailwind
colors: {
  custom: {
    50: '#998adb',
    500: '#665ccb',
    950: '#000000',
  },
}
SCSS
$custom: #665ccb;
$custom-light: #998adb;
$custom-dark: #000000;
JSON
{
  "hex": "#665ccb",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 245.405,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54239,
    "c": 0.16624,
    "h": 283.4
  },
  "luminance": 0.14791
}

Semantic roles & 50–950 ramp

primary
#665CCB
secondary
#D4D8AB
accent
#DB4DCE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #665CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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