#665AEF#665AEF

#665AEF is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.6% C 0.215 H 280.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#665AEF
RGBrgb(102, 90, 239)
HSLhsl(245, 82%, 65%)
HSVhsv(245, 62%, 94%)
CMYKcmyk(57.3%, 62.3%, 0%, 6.3%)
CIE-LABlab(47.45, 45.62, -73.66)
CIE-LCHlch(47.45, 86.64, 301.77°)
OKLaboklab(56.6% 0.0397 -0.2118)
OKLCHoklch(56.6% 0.216 280.6)
XYZxyz(24.7108, 16.3674, 83.5017)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AEF #E3EF5A
analogous
#5A99EF #665AEF #B05AEF
triadic
#665AEF #EF665A #5AEF66
tetradic
#665AEF #EF5A99 #E3EF5A #5AEFB0
square
#665AEF #EF5A99 #E3EF5A #5AEFB0
split-complementary
#665AEF #EFB05A #99EF5A
monochromatic
#2012BC #3222EA #665AEF #9A92F4 #CDCAFA

Accessibility & contrast

On white

4.91
#665AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#665AEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AEF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AEF#FFFFFF#000000##FFFFFF
##665AEF1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#0F7F9C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #665aef;
/* rgb */ color: rgb(102, 90, 239);
/* oklch */ color: oklch(56.6% 0.215 280.6);
Tailwind
colors: {
  custom: {
    50: '#9e89f5',
    500: '#665aef',
    950: '#000000',
  },
}
SCSS
$custom: #665aef;
$custom-light: #9e89f5;
$custom-dark: #000000;
JSON
{
  "hex": "#665aef",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 244.832,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56601,
    "c": 0.2155,
    "h": 280.6
  },
  "luminance": 0.16369
}

Semantic roles & 50–950 ramp

primary
#665AEF
secondary
#E8ECB9
accent
#DF07CD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #665AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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