#665CE3#665CE3

#665CE3 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 56.0% C 0.198 H 281.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#665CE3
RGBrgb(102, 92, 227)
HSLhsl(244, 71%, 63%)
HSVhsv(244, 59%, 89%)
CMYKcmyk(55.1%, 59.5%, 0%, 11%)
CIE-LABlab(47.01, 40.76, -67.63)
CIE-LCHlch(47.01, 78.96, 301.07°)
OKLaboklab(55.99% 0.0385 -0.1941)
OKLCHoklch(55.99% 0.198 281.2)
XYZxyz(23.1675, 16.0237, 74.5302)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CE3 #D9E35C
analogous
#5C96E3 #665CE3 #A95CE3
triadic
#665CE3 #E3665C #5CE366
tetradic
#665CE3 #E35C96 #D9E35C #5CE3A9
square
#665CE3 #E35C96 #D9E35C #5CE3A9
split-complementary
#665CE3 #E3A95C #96E35C
monochromatic
#271DA8 #3528DA #665CE3 #9790EC #C8C4F5

Accessibility & contrast

On white

4.99
#665CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#665CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CE3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CE3#FFFFFF#000000##FFFFFF
##665CE31.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#287C97
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #665ce3;
/* rgb */ color: rgb(102, 92, 227);
/* oklch */ color: oklch(56.0% 0.198 281.2);
Tailwind
colors: {
  custom: {
    50: '#9c8aed',
    500: '#665ce3',
    950: '#000000',
  },
}
SCSS
$custom: #665ce3;
$custom-light: #9c8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#665ce3",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 244.444,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55993,
    "c": 0.19785,
    "h": 281.2
  },
  "luminance": 0.16025
}

Semantic roles & 50–950 ramp

primary
#665CE3
secondary
#E2E6B5
accent
#D313C4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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