#665FF4#665FF4

#665FF4 is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.8% C 0.216 H 279.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#665FF4
RGBrgb(102, 95, 244)
HSLhsl(243, 87%, 66%)
HSVhsv(243, 61%, 96%)
CMYKcmyk(58.2%, 61.1%, 0%, 4.3%)
CIE-LABlab(48.93, 44.26, -74.06)
CIE-LCHlch(48.93, 86.27, 300.87°)
OKLaboklab(57.8% 0.035 -0.2129)
OKLCHoklch(57.8% 0.216 279.3)
XYZxyz(25.8957, 17.5390, 87.5912)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FF4 #EDF45F
analogous
#5FA3F4 #665FF4 #B15FF4
triadic
#665FF4 #F4665F #5FF466
tetradic
#665FF4 #F45FA3 #EDF45F #5FF4B1
square
#665FF4 #F45FA3 #EDF45F #5FF4B1
split-complementary
#665FF4 #F4B15F #A3F45F
monochromatic
#170ECB #2F26F0 #665FF4 #9D98F8 #D4D2FC

Accessibility & contrast

On white

4.66
#665FF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#665FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #665FF4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FF4#FFFFFF#000000##FFFFFF
##665FF41.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF9
Deuteranopia (green-blind)
#006EF1
Tritanopia (blue-blind)
#0084A1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #665ff4;
/* rgb */ color: rgb(102, 95, 244);
/* oklch */ color: oklch(57.8% 0.216 279.3);
Tailwind
colors: {
  custom: {
    50: '#9e8df9',
    500: '#665ff4',
    950: '#000000',
  },
}
SCSS
$custom: #665ff4;
$custom-light: #9e8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#665ff4",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 242.819,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57801,
    "c": 0.21579,
    "h": 279.3
  },
  "luminance": 0.17541
}

Semantic roles & 50–950 ramp

primary
#665FF4
secondary
#EDF0BF
accent
#E402D9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #665FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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