#665DCB#665DCB

#665DCB is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.4% C 0.165 H 283.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#665DCB
RGBrgb(102, 93, 203)
HSLhsl(245, 51%, 58%)
HSVhsv(245, 54%, 80%)
CMYKcmyk(49.8%, 54.2%, 0%, 20.4%)
CIE-LABlab(45.59, 32.78, -56.24)
CIE-LCHlch(45.59, 65.09, 300.24°)
OKLaboklab(54.42% 0.0375 -0.1605)
OKLCHoklch(54.42% 0.165 283.1)
XYZxyz(20.1701, 14.9642, 58.3139)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DCB #C2CB5D
analogous
#5D8BCB #665DCB #9D5DCB
triadic
#665DCB #CB665D #5DCB66
tetradic
#665DCB #CB5D8B #C2CB5D #5DCB9D
square
#665DCB #CB5D8B #C2CB5D #5DCB9D
split-complementary
#665DCB #CB9D5D #8BCB5D
monochromatic
#312A83 #4339B2 #665DCB #928BDA #BEBAE9

Accessibility & contrast

On white

5.26
#665DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#665DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DCB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DCB#FFFFFF#000000##FFFFFF
##665DCB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E70CF
Deuteranopia (green-blind)
#1468C9
Tritanopia (blue-blind)
#40768B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665dcb;
/* rgb */ color: rgb(102, 93, 203);
/* oklch */ color: oklch(54.4% 0.165 283.1);
Tailwind
colors: {
  custom: {
    50: '#998bdb',
    500: '#665dcb',
    950: '#000000',
  },
}
SCSS
$custom: #665dcb;
$custom-light: #998bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#665dcb",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 244.909,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54418,
    "c": 0.16487,
    "h": 283.1
  },
  "luminance": 0.14965
}

Semantic roles & 50–950 ramp

primary
#665DCB
secondary
#D4D8AC
accent
#DB4DCF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #665DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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