#665BDA#665BDA

#665BDA is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.1% C 0.187 H 282.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#665BDA
RGBrgb(102, 91, 218)
HSLhsl(245, 63%, 61%)
HSVhsv(245, 58%, 85%)
CMYKcmyk(53.2%, 58.3%, 0%, 14.5%)
CIE-LABlab(46.13, 38.58, -63.94)
CIE-LCHlch(46.13, 74.67, 301.11°)
OKLaboklab(55.15% 0.0398 -0.1832)
OKLCHoklch(55.15% 0.187 282.2)
XYZxyz(21.8716, 15.3676, 68.1298)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BDA #CFDA5B
analogous
#5B8FDA #665BDA #A55BDA
triadic
#665BDA #DA665B #5BDA66
tetradic
#665BDA #DA5B8F #CFDA5B #5BDAA5
square
#665BDA #DA5B8F #CFDA5B #5BDAA5
split-complementary
#665BDA #DAA55B #8FDA5B
monochromatic
#2D2298 #3B2ECA #665BDA #958DE5 #C3BFF1

Accessibility & contrast

On white

5.15
#665BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#665BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BDA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BDA#FFFFFF#000000##FFFFFF
##665BDA1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#337992
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665bda;
/* rgb */ color: rgb(102, 91, 218);
/* oklch */ color: oklch(55.1% 0.187 282.2);
Tailwind
colors: {
  custom: {
    50: '#9b8ae6',
    500: '#665bda',
    950: '#000000',
  },
}
SCSS
$custom: #665bda;
$custom-light: #9b8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#665bda",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 245.197,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55148,
    "c": 0.18747,
    "h": 282.2
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#665BDA
secondary
#DCE1B0
accent
#CB1BBC
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #665BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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