#665CDE#665CDE

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

Color values

HEX#665CDE
RGBrgb(102, 92, 222)
HSLhsl(245, 66%, 62%)
HSVhsv(245, 59%, 87%)
CMYKcmyk(54.1%, 58.6%, 0%, 12.9%)
CIE-LABlab(46.65, 39.22, -65.38)
CIE-LCHlch(46.65, 76.24, 300.96°)
OKLaboklab(55.62% 0.0387 -0.1874)
OKLCHoklch(55.62% 0.191 281.7)
XYZxyz(22.4874, 15.7516, 70.9485)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CDE #D4DE5C
analogous
#5C93DE #665CDE #A75CDE
triadic
#665CDE #DE665C #5CDE66
tetradic
#665CDE #DE5C93 #D4DE5C #5CDEA7
square
#665CDE #DE5C93 #D4DE5C #5CDEA7
split-complementary
#665CDE #DEA75C #93DE5C
monochromatic
#2A209F #372BD2 #665CDE #968FE8 #C6C2F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##665CDE#FFFFFF#000000##FFFFFF
##665CDE1.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)
#0073E2
Deuteranopia (green-blind)
#006ADB
Tritanopia (blue-blind)
#2F7B94
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665cde;
/* rgb */ color: rgb(102, 92, 222);
/* oklch */ color: oklch(55.6% 0.191 281.7);
Tailwind
colors: {
  custom: {
    50: '#9b8ae9',
    500: '#665cde',
    950: '#000000',
  },
}
SCSS
$custom: #665cde;
$custom-light: #9b8ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#665cde",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 244.615,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55616,
    "c": 0.1914,
    "h": 281.7
  },
  "luminance": 0.15753
}

Semantic roles & 50–950 ramp

primary
#665CDE
secondary
#DFE3B3
accent
#CE17C0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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