#665BDF#665BDF

#665BDF is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.5% C 0.194 H 281.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#665BDF
RGBrgb(102, 91, 223)
HSLhsl(245, 67%, 62%)
HSVhsv(245, 59%, 87%)
CMYKcmyk(54.3%, 59.2%, 0%, 12.5%)
CIE-LABlab(46.49, 40.11, -66.20)
CIE-LCHlch(46.49, 77.41, 301.21°)
OKLaboklab(55.52% 0.0396 -0.1899)
OKLCHoklch(55.52% 0.194 281.8)
XYZxyz(22.5357, 15.6333, 71.6278)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BDF #D4DF5B
analogous
#5B92DF #665BDF #A85BDF
triadic
#665BDF #DF665B #5BDF66
tetradic
#665BDF #DF5B92 #D4DF5B #5BDFA8
square
#665BDF #DF5B92 #D4DF5B #5BDFA8
split-complementary
#665BDF #DFA85B #92DF5B
monochromatic
#2A1FA0 #3729D4 #665BDF #968EE9 #C6C1F3

Accessibility & contrast

On white

5.09
#665BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#665BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BDF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BDF#FFFFFF#000000##FFFFFF
##665BDF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#2E7A94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #665bdf;
/* rgb */ color: rgb(102, 91, 223);
/* oklch */ color: oklch(55.5% 0.194 281.8);
Tailwind
colors: {
  custom: {
    50: '#9b8aea',
    500: '#665bdf',
    950: '#000000',
  },
}
SCSS
$custom: #665bdf;
$custom-light: #9b8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#665bdf",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 245,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55523,
    "c": 0.19396,
    "h": 281.8
  },
  "luminance": 0.15635
}

Semantic roles & 50–950 ramp

primary
#665BDF
secondary
#DFE3B2
accent
#CF16C0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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