#766CF0#766CF0

#766CF0 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.9% C 0.192 H 282.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#766CF0
RGBrgb(118, 108, 240)
HSLhsl(245, 81%, 68%)
HSVhsv(245, 55%, 94%)
CMYKcmyk(50.8%, 55%, 0%, 5.9%)
CIE-LABlab(52.80, 38.32, -65.49)
CIE-LCHlch(52.80, 75.88, 300.33°)
OKLaboklab(60.87% 0.0415 -0.1872)
OKLCHoklch(60.87% 0.192 282.5)
XYZxyz(28.5572, 20.8664, 84.9440)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766CF0 #E6F06C
analogous
#6CA4F0 #766CF0 #B86CF0
triadic
#766CF0 #F0766C #6CF076
tetradic
#766CF0 #F06CA4 #E6F06C #6CF0B8
square
#766CF0 #F06CA4 #E6F06C #6CF0B8
split-complementary
#766CF0 #F0B86C #A4F06C
monochromatic
#2315CD #4234EA #766CF0 #AAA4F6 #DEDBFB

Accessibility & contrast

On white

4.06
#766CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#766CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766CF0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766CF0#FFFFFF#000000##000000
##766CF01.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1483F4
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#458AA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #766cf0;
/* rgb */ color: rgb(118, 108, 240);
/* oklch */ color: oklch(60.9% 0.192 282.5);
Tailwind
colors: {
  custom: {
    50: '#a696f6',
    500: '#766cf0',
    950: '#000000',
  },
}
SCSS
$custom: #766cf0;
$custom-light: #a696f6;
$custom-dark: #000000;
JSON
{
  "hex": "#766cf0",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 240
  },
  "hsl": {
    "h": 244.545,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60869,
    "c": 0.19178,
    "h": 282.5
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

primary
#766CF0
secondary
#EDF0C8
accent
#DE08CE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766CF0

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

Preview Lab → · Contrast checker → · Palette generator →

#766CF0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva