#665DC5#665DC5

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

Color values

HEX#665DC5
RGBrgb(102, 93, 197)
HSLhsl(245, 47%, 57%)
HSVhsv(245, 53%, 77%)
CMYKcmyk(48.2%, 52.8%, 0%, 22.7%)
CIE-LABlab(45.20, 30.95, -53.40)
CIE-LCHlch(45.20, 61.72, 300.10°)
OKLaboklab(54.01% 0.0372 -0.1522)
OKLCHoklch(54.01% 0.157 283.7)
XYZxyz(19.4689, 14.6837, 54.6209)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DC5 #BCC55D
analogous
#5D88C5 #665DC5 #9A5DC5
triadic
#665DC5 #C5665D #5DC566
tetradic
#665DC5 #C55D88 #BCC55D #5DC59A
square
#665DC5 #C55D88 #BCC55D #5DC59A
split-complementary
#665DC5 #C59A5D #88C55D
monochromatic
#332C7B #463CA8 #665DC5 #918AD5 #BBB7E5

Accessibility & contrast

On white

5.33
#665DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665DC5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DC5#FFFFFF#000000##FFFFFF
##665DC51.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286EC9
Deuteranopia (green-blind)
#2268C3
Tritanopia (blue-blind)
#447488
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #665dc5;
/* rgb */ color: rgb(102, 93, 197);
/* oklch */ color: oklch(54.0% 0.157 283.7);
Tailwind
colors: {
  custom: {
    50: '#988bd7',
    500: '#665dc5',
    950: '#000000',
  },
}
SCSS
$custom: #665dc5;
$custom-light: #988bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#665dc5",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 245.192,
    "s": 47.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54005,
    "c": 0.1567,
    "h": 283.7
  },
  "luminance": 0.14685
}

Semantic roles & 50–950 ramp

primary
#665DC5
secondary
#D0D4AA
accent
#D751CB
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #665DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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