#766BFA#766BFA

#766BFA is a mid, highly saturated blue. Relative luminance 0.213; OKLCH L 61.4% C 0.206 H 281.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#766BFA
RGBrgb(118, 107, 250)
HSLhsl(245, 93%, 70%)
HSVhsv(245, 57%, 98%)
CMYKcmyk(52.8%, 57.2%, 0%, 2%)
CIE-LABlab(53.24, 41.90, -70.34)
CIE-LCHlch(53.24, 81.88, 300.78°)
OKLaboklab(61.41% 0.0426 -0.2015)
OKLCHoklch(61.41% 0.206 281.9)
XYZxyz(29.9789, 21.2673, 92.9492)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BFA #EFFA6B
analogous
#6BA8FA #766BFA #BD6BFA
triadic
#766BFA #FA766B #6BFA76
tetradic
#766BFA #FA6BA8 #EFFA6B #6BFABD
square
#766BFA #FA6BA8 #EFFA6B #6BFABD
split-complementary
#766BFA #FABD6B #A8FA6B
monochromatic
#1908E3 #3F30F8 #766BFA #ADA6FC #E4E1FE

Accessibility & contrast

On white

4.00
#766BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#766BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BFA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BFA#FFFFFF#000000##000000
##766BFA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#3C8CA8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #766bfa;
/* rgb */ color: rgb(118, 107, 250);
/* oklch */ color: oklch(61.4% 0.206 281.9);
Tailwind
colors: {
  custom: {
    50: '#a796fd',
    500: '#766bfa',
    950: '#000000',
  },
}
SCSS
$custom: #766bfa;
$custom-light: #a796fd;
$custom-dark: #000000;
JSON
{
  "hex": "#766bfa",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 250
  },
  "hsl": {
    "h": 244.615,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.61405,
    "c": 0.20597,
    "h": 281.9
  },
  "luminance": 0.21269
}

Semantic roles & 50–950 ramp

primary
#766BFA
secondary
#F1F4CC
accent
#E600D4
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #766BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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