#665EFB#665EFB

#665EFB is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 58.2% C 0.226 H 279.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#665EFB
RGBrgb(102, 94, 251)
HSLhsl(243, 95%, 68%)
HSVhsv(243, 63%, 98%)
CMYKcmyk(59.4%, 62.5%, 0%, 1.6%)
CIE-LABlab(49.24, 47.01, -77.45)
CIE-LCHlch(49.24, 90.60, 301.26°)
OKLaboklab(58.19% 0.0353 -0.2229)
OKLCHoklch(58.19% 0.226 279)
XYZxyz(26.8892, 17.7932, 93.2656)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EFB #F3FB5E
analogous
#5EA5FB #665EFB #B45EFB
triadic
#665EFB #FB665E #5EFB66
tetradic
#665EFB #FB5EA5 #F3FB5E #5EFBB4
square
#665EFB #FB5EA5 #F3FB5E #5EFBB4
split-complementary
#665EFB #FBB45E #A5FB5E
monochromatic
#1005D9 #2D22FA #665EFB #9F9AFC #D7D5FE

Accessibility & contrast

On white

4.61
#665EFB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#665EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #665EFB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EFB#FFFFFF#000000##FFFFFF
##665EFB1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#006FF8
Tritanopia (blue-blind)
#0085A4
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #665efb;
/* rgb */ color: rgb(102, 94, 251);
/* oklch */ color: oklch(58.2% 0.226 279.0);
Tailwind
colors: {
  custom: {
    50: '#9f8cfe',
    500: '#665efb',
    950: '#000000',
  },
}
SCSS
$custom: #665efb;
$custom-light: #9f8cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#665efb",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 243.057,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.58195,
    "c": 0.2257,
    "h": 279
  },
  "luminance": 0.17795
}

Semantic roles & 50–950 ramp

primary
#665EFB
secondary
#F0F3C2
accent
#E600DA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #665EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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