#665DDB#665DDB

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

Color values

HEX#665DDB
RGBrgb(102, 93, 219)
HSLhsl(244, 64%, 61%)
HSVhsv(244, 58%, 86%)
CMYKcmyk(53.4%, 57.5%, 0%, 14.1%)
CIE-LABlab(46.67, 37.70, -63.64)
CIE-LCHlch(46.67, 73.97, 300.64°)
OKLaboklab(55.56% 0.0377 -0.1823)
OKLCHoklch(55.56% 0.186 281.7)
XYZxyz(22.1761, 15.7666, 68.8788)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DDB #D2DB5D
analogous
#5D93DB #665DDB #A55DDB
triadic
#665DDB #DB665D #5DDB66
tetradic
#665DDB #DB5D93 #D2DB5D #5DDBA5
square
#665DDB #DB5D93 #D2DB5D #5DDBA5
split-complementary
#665DDB #DBA55D #93DB5D
monochromatic
#2B229B #392ECD #665DDB #958FE6 #C5C1F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##665DDB#FFFFFF#000000##FFFFFF
##665DDB1.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)
#0073DF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#327A93
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665ddb;
/* rgb */ color: rgb(102, 93, 219);
/* oklch */ color: oklch(55.6% 0.186 281.7);
Tailwind
colors: {
  custom: {
    50: '#9b8be7',
    500: '#665ddb',
    950: '#000000',
  },
}
SCSS
$custom: #665ddb;
$custom-light: #9b8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#665ddb",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 219
  },
  "hsl": {
    "h": 244.286,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55564,
    "c": 0.18619,
    "h": 281.7
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#665DDB
secondary
#DEE2B2
accent
#CB1ABF
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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