#665CDF#665CDF

#665CDF is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.7% C 0.193 H 281.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#665CDF
RGBrgb(102, 92, 223)
HSLhsl(245, 67%, 62%)
HSVhsv(245, 59%, 87%)
CMYKcmyk(54.3%, 58.7%, 0%, 12.5%)
CIE-LABlab(46.72, 39.52, -65.83)
CIE-LCHlch(46.72, 76.78, 300.98°)
OKLaboklab(55.69% 0.0386 -0.1888)
OKLCHoklch(55.69% 0.193 281.6)
XYZxyz(22.6218, 15.8054, 71.6564)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CDF #D5DF5C
analogous
#5C94DF #665CDF #A85CDF
triadic
#665CDF #DF665C #5CDF66
tetradic
#665CDF #DF5C94 #D5DF5C #5CDFA8
square
#665CDF #DF5C94 #D5DF5C #5CDFA8
split-complementary
#665CDF #DFA85C #94DF5C
monochromatic
#2920A1 #372AD4 #665CDF #968FE9 #C6C2F3

Accessibility & contrast

On white

5.05
#665CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665CDF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CDF#FFFFFF#000000##FFFFFF
##665CDF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#2D7B95
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665cdf;
/* rgb */ color: rgb(102, 92, 223);
/* oklch */ color: oklch(55.7% 0.193 281.6);
Tailwind
colors: {
  custom: {
    50: '#9b8aea',
    500: '#665cdf',
    950: '#000000',
  },
}
SCSS
$custom: #665cdf;
$custom-light: #9b8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#665cdf",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 244.58,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55691,
    "c": 0.19269,
    "h": 281.6
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#665CDF
secondary
#E0E4B3
accent
#CF16C1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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