#665FD4#665FD4

#665FD4 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.4% C 0.174 H 281.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#665FD4
RGBrgb(102, 95, 212)
HSLhsl(244, 58%, 60%)
HSVhsv(244, 55%, 83%)
CMYKcmyk(51.9%, 55.2%, 0%, 16.9%)
CIE-LABlab(46.66, 34.34, -59.66)
CIE-LCHlch(46.66, 68.84, 299.92°)
OKLaboklab(55.41% 0.0356 -0.1706)
OKLCHoklch(55.41% 0.174 281.8)
XYZxyz(21.4517, 15.7614, 64.1865)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FD4 #CDD45F
analogous
#5F92D4 #665FD4 #A15FD4
triadic
#665FD4 #D4665F #5FD466
tetradic
#665FD4 #D45F92 #CDD45F #5FD4A1
square
#665FD4 #D45F92 #CDD45F #5FD4A1
split-complementary
#665FD4 #D4A15F #92D45F
monochromatic
#2D2791 #3D34C2 #665FD4 #948FE1 #C2BFEE

Accessibility & contrast

On white

5.06
#665FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#665FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FD4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FD4#FFFFFF#000000##FFFFFF
##665FD41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1173D8
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#397A90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665fd4;
/* rgb */ color: rgb(102, 95, 212);
/* oklch */ color: oklch(55.4% 0.174 281.8);
Tailwind
colors: {
  custom: {
    50: '#9a8ce2',
    500: '#665fd4',
    950: '#000000',
  },
}
SCSS
$custom: #665fd4;
$custom-light: #9a8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#665fd4",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 243.59,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55407,
    "c": 0.17428,
    "h": 281.8
  },
  "luminance": 0.15763
}

Semantic roles & 50–950 ramp

primary
#665FD4
secondary
#DBDEB1
accent
#C520BB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #665FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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