#665BE3#665BE3

#665BE3 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.8% C 0.199 H 281.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#665BE3
RGBrgb(102, 91, 227)
HSLhsl(245, 71%, 62%)
HSVhsv(245, 60%, 89%)
CMYKcmyk(55.1%, 59.9%, 0%, 11%)
CIE-LABlab(46.78, 41.34, -68.00)
CIE-LCHlch(46.78, 79.58, 301.30°)
OKLaboklab(55.83% 0.0395 -0.1952)
OKLCHoklch(55.83% 0.199 281.4)
XYZxyz(23.0814, 15.8516, 74.5015)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BE3 #D8E35B
analogous
#5B94E3 #665BE3 #AA5BE3
triadic
#665BE3 #E3665B #5BE366
tetradic
#665BE3 #E35B94 #D8E35B #5BE3AA
square
#665BE3 #E35B94 #D8E35B #5BE3AA
split-complementary
#665BE3 #E3AA5B #94E35B
monochromatic
#281DA7 #3527DA #665BE3 #978FEC #C8C4F5

Accessibility & contrast

On white

5.04
#665BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#665BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BE3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BE3#FFFFFF#000000##FFFFFF
##665BE31.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #665be3;
/* rgb */ color: rgb(102, 91, 227);
/* oklch */ color: oklch(55.8% 0.199 281.4);
Tailwind
colors: {
  custom: {
    50: '#9c8aed',
    500: '#665be3',
    950: '#000000',
  },
}
SCSS
$custom: #665be3;
$custom-light: #9c8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#665be3",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 244.853,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55827,
    "c": 0.19911,
    "h": 281.4
  },
  "luminance": 0.15853
}

Semantic roles & 50–950 ramp

primary
#665BE3
secondary
#E2E6B4
accent
#D313C3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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