#665EC5#665EC5

#665EC5 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.2% C 0.155 H 283.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#665EC5
RGBrgb(102, 94, 197)
HSLhsl(245, 47%, 57%)
HSVhsv(245, 52%, 77%)
CMYKcmyk(48.2%, 52.3%, 0%, 22.7%)
CIE-LABlab(45.44, 30.35, -53.01)
CIE-LCHlch(45.44, 61.08, 299.79°)
OKLaboklab(54.19% 0.0361 -0.151)
OKLCHoklch(54.19% 0.155 283.4)
XYZxyz(19.5572, 14.8604, 54.6503)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EC5 #BDC55E
analogous
#5E8AC5 #665EC5 #9A5EC5
triadic
#665EC5 #C5665E #5EC566
tetradic
#665EC5 #C55E8A #BDC55E #5EC59A
square
#665EC5 #C55E8A #BDC55E #5EC59A
split-complementary
#665EC5 #C59A5E #8AC55E
monochromatic
#332D7C #453DA9 #665EC5 #918BD5 #BCB8E5

Accessibility & contrast

On white

5.29
#665EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#665EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EC5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EC5#FFFFFF#000000##FFFFFF
##665EC51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6FC9
Deuteranopia (green-blind)
#2468C3
Tritanopia (blue-blind)
#447488
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665ec5;
/* rgb */ color: rgb(102, 94, 197);
/* oklch */ color: oklch(54.2% 0.155 283.4);
Tailwind
colors: {
  custom: {
    50: '#988cd7',
    500: '#665ec5',
    950: '#000000',
  },
}
SCSS
$custom: #665ec5;
$custom-light: #988cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#665ec5",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 197
  },
  "hsl": {
    "h": 244.66,
    "s": 47.032,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54188,
    "c": 0.15529,
    "h": 283.4
  },
  "luminance": 0.14861
}

Semantic roles & 50–950 ramp

primary
#665EC5
secondary
#D1D4AA
accent
#D751CC
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #665EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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