#665ECA#665ECA

#665ECA is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.162 H 282.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#665ECA
RGBrgb(102, 94, 202)
HSLhsl(244, 50%, 58%)
HSVhsv(244, 53%, 79%)
CMYKcmyk(49.5%, 53.5%, 0%, 20.8%)
CIE-LABlab(45.76, 31.87, -55.38)
CIE-LCHlch(45.76, 63.89, 299.92°)
OKLaboklab(54.53% 0.0363 -0.158)
OKLCHoklch(54.53% 0.162 282.9)
XYZxyz(20.1397, 15.0934, 57.7178)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665ECA #C2CA5E
analogous
#5E8CCA #665ECA #9C5ECA
triadic
#665ECA #CA665E #5ECA66
tetradic
#665ECA #CA5E8C #C2CA5E #5ECA9C
square
#665ECA #CA5E8C #C2CA5E #5ECA9C
split-complementary
#665ECA #CA9C5E #8CCA5E
monochromatic
#312B83 #433AB1 #665ECA #928CD9 #BEBAE8

Accessibility & contrast

On white

5.23
#665ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#665ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665ECA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665ECA#FFFFFF#000000##FFFFFF
##665ECA1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2370CE
Deuteranopia (green-blind)
#1A69C8
Tritanopia (blue-blind)
#41768B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665eca;
/* rgb */ color: rgb(102, 94, 202);
/* oklch */ color: oklch(54.5% 0.162 282.9);
Tailwind
colors: {
  custom: {
    50: '#988cdb',
    500: '#665eca',
    950: '#000000',
  },
}
SCSS
$custom: #665eca;
$custom-light: #988cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#665eca",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 244.444,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54529,
    "c": 0.16213,
    "h": 282.9
  },
  "luminance": 0.15094
}

Semantic roles & 50–950 ramp

primary
#665ECA
secondary
#D4D7AC
accent
#DA4ED0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #665ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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