#665DCC#665DCC

#665DCC is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.5% C 0.166 H 283.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#665DCC
RGBrgb(102, 93, 204)
HSLhsl(245, 52%, 58%)
HSVhsv(245, 54%, 80%)
CMYKcmyk(50%, 54.4%, 0%, 20%)
CIE-LABlab(45.65, 33.09, -56.71)
CIE-LCHlch(45.65, 65.65, 300.26°)
OKLaboklab(54.49% 0.0375 -0.1619)
OKLCHoklch(54.49% 0.166 283)
XYZxyz(20.2896, 15.0121, 58.9435)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DCC #C3CC5D
analogous
#5D8BCC #665DCC #9D5DCC
triadic
#665DCC #CC665D #5DCC66
tetradic
#665DCC #CC5D8B #C3CC5D #5DCC9D
square
#665DCC #CC5D8B #C3CC5D #5DCC9D
split-complementary
#665DCC #CC9D5D #8BCC5D
monochromatic
#312A85 #4238B3 #665DCC #928CDB #BEBAE9

Accessibility & contrast

On white

5.25
#665DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#665DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DCC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DCC#FFFFFF#000000##FFFFFF
##665DCC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D0
Deuteranopia (green-blind)
#1068CA
Tritanopia (blue-blind)
#3F768B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665dcc;
/* rgb */ color: rgb(102, 93, 204);
/* oklch */ color: oklch(54.5% 0.166 283.0);
Tailwind
colors: {
  custom: {
    50: '#998bdc',
    500: '#665dcc',
    950: '#000000',
  },
}
SCSS
$custom: #665dcc;
$custom-light: #998bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#665dcc",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 244.865,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54488,
    "c": 0.16622,
    "h": 283
  },
  "luminance": 0.15013
}

Semantic roles & 50–950 ramp

primary
#665DCC
secondary
#D5D9AC
accent
#DC4CD0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #665DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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