#766BF3#766BF3

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

Color values

HEX#766BF3
RGBrgb(118, 107, 243)
HSLhsl(245, 85%, 69%)
HSVhsv(245, 56%, 95%)
CMYKcmyk(51.4%, 56%, 0%, 4.7%)
CIE-LABlab(52.77, 39.80, -67.21)
CIE-LCHlch(52.77, 78.12, 300.63°)
OKLaboklab(60.91% 0.0426 -0.1923)
OKLCHoklch(60.91% 0.197 282.5)
XYZxyz(28.9016, 20.8364, 87.2756)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BF3 #E8F36B
analogous
#6BA4F3 #766BF3 #BA6BF3
triadic
#766BF3 #F3766B #6BF376
tetradic
#766BF3 #F36BA4 #E8F36B #6BF3BA
square
#766BF3 #F36BA4 #E8F36B #6BF3BA
split-complementary
#766BF3 #F3BA6B #A4F36B
monochromatic
#2111D3 #4232EE #766BF3 #AAA4F8 #DFDCFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##766BF3#FFFFFF#000000##000000
##766BF31.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)
#0083F8
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#438AA5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #766bf3;
/* rgb */ color: rgb(118, 107, 243);
/* oklch */ color: oklch(60.9% 0.197 282.5);
Tailwind
colors: {
  custom: {
    50: '#a696f8',
    500: '#766bf3',
    950: '#000000',
  },
}
SCSS
$custom: #766bf3;
$custom-light: #a696f8;
$custom-dark: #000000;
JSON
{
  "hex": "#766bf3",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 243
  },
  "hsl": {
    "h": 244.853,
    "s": 85,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60908,
    "c": 0.19698,
    "h": 282.5
  },
  "luminance": 0.20838
}

Semantic roles & 50–950 ramp

primary
#766BF3
secondary
#EEF1C9
accent
#E104D0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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