#766BF4#766BF4

#766BF4 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 61.0% C 0.198 H 282.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#766BF4
RGBrgb(118, 107, 244)
HSLhsl(245, 86%, 69%)
HSVhsv(245, 56%, 96%)
CMYKcmyk(51.6%, 56.1%, 0%, 4.3%)
CIE-LABlab(52.84, 40.10, -67.66)
CIE-LCHlch(52.84, 78.66, 300.65°)
OKLaboklab(60.98% 0.0426 -0.1936)
OKLCHoklch(60.98% 0.198 282.4)
XYZxyz(29.0531, 20.8970, 88.0730)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BF4 #E9F46B
analogous
#6BA5F4 #766BF4 #BB6BF4
triadic
#766BF4 #F4766B #6BF476
tetradic
#766BF4 #F46BA5 #E9F46B #6BF4BB
square
#766BF4 #F46BA5 #E9F46B #6BF4BB
split-complementary
#766BF4 #F4BB6B #A5F46B
monochromatic
#2010D5 #4132F0 #766BF4 #ABA4F8 #DFDDFC

Accessibility & contrast

On white

4.05
#766BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#766BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BF4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BF4#FFFFFF#000000##000000
##766BF41.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F9
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#428BA5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #766bf4;
/* rgb */ color: rgb(118, 107, 244);
/* oklch */ color: oklch(61.0% 0.198 282.4);
Tailwind
colors: {
  custom: {
    50: '#a696f9',
    500: '#766bf4',
    950: '#000000',
  },
}
SCSS
$custom: #766bf4;
$custom-light: #a696f9;
$custom-dark: #000000;
JSON
{
  "hex": "#766bf4",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 244.818,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.60978,
    "c": 0.19827,
    "h": 282.4
  },
  "luminance": 0.20899
}

Semantic roles & 50–950 ramp

primary
#766BF4
secondary
#EEF2C9
accent
#E303D1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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