#665FCC#665FCC

#665FCC is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.8% C 0.163 H 282.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#665FCC
RGBrgb(102, 95, 204)
HSLhsl(244, 52%, 59%)
HSVhsv(244, 53%, 80%)
CMYKcmyk(50%, 53.4%, 0%, 20%)
CIE-LABlab(46.13, 31.88, -55.93)
CIE-LCHlch(46.13, 64.37, 299.68°)
OKLaboklab(54.85% 0.0353 -0.1596)
OKLCHoklch(54.85% 0.163 282.5)
XYZxyz(20.4675, 15.3677, 59.0028)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FCC #C5CC5F
analogous
#5F8ECC #665FCC #9C5FCC
triadic
#665FCC #CC665F #5FCC66
tetradic
#665FCC #CC5F8E #C5CC5F #5FCC9C
square
#665FCC #CC5F8E #C5CC5F #5FCC9C
split-complementary
#665FCC #CC9C5F #8ECC5F
monochromatic
#312B86 #4139B4 #665FCC #928DDB #BFBCEA

Accessibility & contrast

On white

5.15
#665FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#665FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FCC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FCC#FFFFFF#000000##FFFFFF
##665FCC1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2371D0
Deuteranopia (green-blind)
#196ACA
Tritanopia (blue-blind)
#3F778C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665fcc;
/* rgb */ color: rgb(102, 95, 204);
/* oklch */ color: oklch(54.8% 0.163 282.5);
Tailwind
colors: {
  custom: {
    50: '#998cdc',
    500: '#665fcc',
    950: '#000000',
  },
}
SCSS
$custom: #665fcc;
$custom-light: #998cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#665fcc",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 243.853,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54848,
    "c": 0.16349,
    "h": 282.5
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#665FCC
secondary
#D6D9AE
accent
#DB4DD2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #665FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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