#665FE3#665FE3

#665FE3 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.5% C 0.194 H 280.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#665FE3
RGBrgb(102, 95, 227)
HSLhsl(243, 70%, 63%)
HSVhsv(243, 58%, 89%)
CMYKcmyk(55.1%, 58.1%, 0%, 11%)
CIE-LABlab(47.69, 38.98, -66.51)
CIE-LCHlch(47.69, 77.10, 300.37°)
OKLaboklab(56.5% 0.0356 -0.1908)
OKLCHoklch(56.5% 0.194 280.6)
XYZxyz(23.4325, 16.5538, 74.6186)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FE3 #DCE35F
analogous
#5F9AE3 #665FE3 #A85FE3
triadic
#665FE3 #E3665F #5FE366
tetradic
#665FE3 #E35F9A #DCE35F #5FE3A8
square
#665FE3 #E35F9A #DCE35F #5FE3A8
split-complementary
#665FE3 #E3A85F #9AE35F
monochromatic
#251EAA #342BDA #665FE3 #9893EC #CAC7F5

Accessibility & contrast

On white

4.87
#665FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#665FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FE3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FE3#FFFFFF#000000##FFFFFF
##665FE31.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#277E98
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #665fe3;
/* rgb */ color: rgb(102, 95, 227);
/* oklch */ color: oklch(56.5% 0.194 280.6);
Tailwind
colors: {
  custom: {
    50: '#9c8ded',
    500: '#665fe3',
    950: '#000000',
  },
}
SCSS
$custom: #665fe3;
$custom-light: #9c8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#665fe3",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 243.182,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.565,
    "c": 0.19406,
    "h": 280.6
  },
  "luminance": 0.16555
}

Semantic roles & 50–950 ramp

primary
#665FE3
secondary
#E4E7B7
accent
#D213C8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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