#665FD5#665FD5

#665FD5 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.5% C 0.176 H 281.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#665FD5
RGBrgb(102, 95, 213)
HSLhsl(244, 58%, 60%)
HSVhsv(244, 55%, 84%)
CMYKcmyk(52.1%, 55.4%, 0%, 16.5%)
CIE-LABlab(46.73, 34.65, -60.13)
CIE-LCHlch(46.73, 69.39, 299.95°)
OKLaboklab(55.48% 0.0356 -0.172)
OKLCHoklch(55.48% 0.176 281.7)
XYZxyz(21.5783, 15.8121, 64.8529)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FD5 #CED55F
analogous
#5F93D5 #665FD5 #A15FD5
triadic
#665FD5 #D5665F #5FD566
tetradic
#665FD5 #D55F93 #CED55F #5FD5A1
square
#665FD5 #D55F93 #CED55F #5FD5A1
split-complementary
#665FD5 #D5A15F #93D55F
monochromatic
#2D2793 #3C33C3 #665FD5 #948FE2 #C3C0EE

Accessibility & contrast

On white

5.04
#665FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#665FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FD5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FD5#FFFFFF#000000##FFFFFF
##665FD51.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E73D9
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#387A91
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665fd5;
/* rgb */ color: rgb(102, 95, 213);
/* oklch */ color: oklch(55.5% 0.176 281.7);
Tailwind
colors: {
  custom: {
    50: '#9a8ce3',
    500: '#665fd5',
    950: '#000000',
  },
}
SCSS
$custom: #665fd5;
$custom-light: #9a8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#665fd5",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 243.559,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55478,
    "c": 0.17562,
    "h": 281.7
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#665FD5
secondary
#DCDEB1
accent
#C61FBC
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C15
muted
#7E7D84

Preview Lab

Preview with #665FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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