#665DC4#665DC4

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

Color values

HEX#665DC4
RGBrgb(102, 93, 196)
HSLhsl(245, 47%, 57%)
HSVhsv(245, 53%, 77%)
CMYKcmyk(48%, 52.6%, 0%, 23.1%)
CIE-LABlab(45.13, 30.65, -52.92)
CIE-LCHlch(45.13, 61.16, 300.08°)
OKLaboklab(53.94% 0.0372 -0.1508)
OKLCHoklch(53.94% 0.155 283.8)
XYZxyz(19.3547, 14.6381, 54.0195)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DC4 #BBC45D
analogous
#5D88C4 #665DC4 #9A5DC4
triadic
#665DC4 #C4665D #5DC466
tetradic
#665DC4 #C45D88 #BBC45D #5DC49A
square
#665DC4 #C45D88 #BBC45D #5DC49A
split-complementary
#665DC4 #C49A5D #88C45D
monochromatic
#332C7A #463DA7 #665DC4 #908AD4 #BBB7E5

Accessibility & contrast

On white

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

On black

3.93
#665DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##665DC4#FFFFFF#000000##FFFFFF
##665DC41.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296EC8
Deuteranopia (green-blind)
#2367C2
Tritanopia (blue-blind)
#457387
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #665dc4;
/* rgb */ color: rgb(102, 93, 196);
/* oklch */ color: oklch(53.9% 0.155 283.8);
Tailwind
colors: {
  custom: {
    50: '#988bd6',
    500: '#665dc4',
    950: '#000000',
  },
}
SCSS
$custom: #665dc4;
$custom-light: #988bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#665dc4",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 196
  },
  "hsl": {
    "h": 245.243,
    "s": 46.606,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53937,
    "c": 0.15532,
    "h": 283.8
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#665DC4
secondary
#D0D3A9
accent
#D652CB
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #665DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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