#665EDB#665EDB

#665EDB is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.7% C 0.185 H 281.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#665EDB
RGBrgb(102, 94, 219)
HSLhsl(244, 63%, 61%)
HSVhsv(244, 57%, 86%)
CMYKcmyk(53.4%, 57.1%, 0%, 14.1%)
CIE-LABlab(46.90, 37.10, -63.26)
CIE-LCHlch(46.90, 73.34, 300.39°)
OKLaboklab(55.74% 0.0367 -0.1812)
OKLCHoklch(55.74% 0.185 281.4)
XYZxyz(22.2644, 15.9433, 68.9083)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EDB #D3DB5E
analogous
#5E95DB #665EDB #A55EDB
triadic
#665EDB #DB665E #5EDB66
tetradic
#665EDB #DB5E95 #D3DB5E #5EDBA5
square
#665EDB #DB5E95 #D3DB5E #5EDBA5
split-complementary
#665EDB #DBA55E #95DB5E
monochromatic
#2B239C #382ECE #665EDB #9690E6 #C5C2F1

Accessibility & contrast

On white

5.01
#665EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#665EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EDB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EDB#FFFFFF#000000##FFFFFF
##665EDB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#327B93
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665edb;
/* rgb */ color: rgb(102, 94, 219);
/* oklch */ color: oklch(55.7% 0.185 281.4);
Tailwind
colors: {
  custom: {
    50: '#9b8ce7',
    500: '#665edb',
    950: '#000000',
  },
}
SCSS
$custom: #665edb;
$custom-light: #9b8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#665edb",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 219
  },
  "hsl": {
    "h": 243.84,
    "s": 63.452,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55737,
    "c": 0.18489,
    "h": 281.4
  },
  "luminance": 0.15945
}

Semantic roles & 50–950 ramp

primary
#665EDB
secondary
#DFE2B3
accent
#CB1AC0
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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