#6B66EB#6B66EB

#6B66EB is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.7% C 0.195 H 280.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6B66EB
RGBrgb(107, 102, 235)
HSLhsl(242, 77%, 66%)
HSVhsv(242, 57%, 92%)
CMYKcmyk(54.5%, 56.6%, 0%, 7.8%)
CIE-LABlab(50.25, 38.22, -66.87)
CIE-LCHlch(50.25, 77.02, 299.75°)
OKLaboklab(58.66% 0.0346 -0.1916)
OKLCHoklch(58.66% 0.195 280.2)
XYZxyz(25.8055, 18.6251, 80.8163)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B66EB #E6EB66
analogous
#66A3EB #6B66EB #AD66EB
triadic
#6B66EB #EB6B66 #66EB6B
tetradic
#6B66EB #EB66A3 #E6EB66 #66EBAD
square
#6B66EB #EB66A3 #E6EB66 #66EBAD
split-complementary
#6B66EB #EBAD66 #A3EB66
monochromatic
#1F19BE #3730E4 #6B66EB #9F9CF2 #D4D2F9

Accessibility & contrast

On white

4.44
#6B66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#6B66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B66EB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B66EB#FFFFFF#000000##000000
##6B66EB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#2D859F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6b66eb;
/* rgb */ color: rgb(107, 102, 235);
/* oklch */ color: oklch(58.7% 0.195 280.2);
Tailwind
colors: {
  custom: {
    50: '#9f92f2',
    500: '#6b66eb',
    950: '#000000',
  },
}
SCSS
$custom: #6b66eb;
$custom-light: #9f92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b66eb",
  "rgb": {
    "r": 107,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 242.256,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58658,
    "c": 0.19471,
    "h": 280.2
  },
  "luminance": 0.18627
}

Semantic roles & 50–950 ramp

primary
#6B66EB
secondary
#EBECC1
accent
#D90CD1
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #6B66EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6B66EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva