#6661EA#6661EA

#6661EA is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.4% C 0.201 H 279.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6661EA
RGBrgb(102, 97, 234)
HSLhsl(242, 77%, 65%)
HSVhsv(242, 59%, 92%)
CMYKcmyk(56.4%, 58.5%, 0%, 8.2%)
CIE-LABlab(48.65, 39.97, -68.90)
CIE-LCHlch(48.65, 79.66, 300.12°)
OKLaboklab(57.37% 0.0335 -0.1978)
OKLCHoklch(57.37% 0.201 279.6)
XYZxyz(24.6008, 17.3130, 79.8714)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6661EA #E5EA61
analogous
#61A0EA #6661EA #AB61EA
triadic
#6661EA #EA6661 #61EA66
tetradic
#6661EA #EA61A0 #E5EA61 #61EAAB
square
#6661EA #EA61A0 #E5EA61 #61EAAB
split-complementary
#6661EA #EAAB61 #A0EA61
monochromatic
#1E18B8 #322BE3 #6661EA #9A97F1 #CFCDF8

Accessibility & contrast

On white

4.71
#6661EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6661EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6661EA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6661EA#FFFFFF#000000##FFFFFF
##6661EA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#1A829C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6661ea;
/* rgb */ color: rgb(102, 97, 234);
/* oklch */ color: oklch(57.4% 0.201 279.6);
Tailwind
colors: {
  custom: {
    50: '#9d8ef2',
    500: '#6661ea',
    950: '#000000',
  },
}
SCSS
$custom: #6661ea;
$custom-light: #9d8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#6661ea",
  "rgb": {
    "r": 102,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 242.19,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57365,
    "c": 0.20061,
    "h": 279.6
  },
  "luminance": 0.17315
}

Semantic roles & 50–950 ramp

primary
#6661EA
secondary
#E9EBBC
accent
#D90DD1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6661EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6661EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva