#766BF2#766BF2

#766BF2 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.8% C 0.196 H 282.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#766BF2
RGBrgb(118, 107, 242)
HSLhsl(245, 84%, 68%)
HSVhsv(245, 56%, 95%)
CMYKcmyk(51.2%, 55.8%, 0%, 5.1%)
CIE-LABlab(52.70, 39.50, -66.76)
CIE-LCHlch(52.70, 77.58, 300.61°)
OKLaboklab(60.84% 0.0426 -0.191)
OKLCHoklch(60.84% 0.196 282.6)
XYZxyz(28.7510, 20.7761, 86.4824)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766BF2 #E7F26B
analogous
#6BA3F2 #766BF2 #B96BF2
triadic
#766BF2 #F2766B #6BF276
tetradic
#766BF2 #F26BA3 #E7F26B #6BF2B9
square
#766BF2 #F26BA3 #E7F26B #6BF2B9
split-complementary
#766BF2 #F2B96B #A3F26B
monochromatic
#2212D0 #4233ED #766BF2 #AAA3F7 #DEDCFC

Accessibility & contrast

On white

4.07
#766BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#766BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #766BF2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766BF2#FFFFFF#000000##000000
##766BF21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0182F7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#448AA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #766bf2;
/* rgb */ color: rgb(118, 107, 242);
/* oklch */ color: oklch(60.8% 0.196 282.6);
Tailwind
colors: {
  custom: {
    50: '#a695f7',
    500: '#766bf2',
    950: '#000000',
  },
}
SCSS
$custom: #766bf2;
$custom-light: #a695f7;
$custom-dark: #000000;
JSON
{
  "hex": "#766bf2",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 244.889,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60838,
    "c": 0.19568,
    "h": 282.6
  },
  "luminance": 0.20778
}

Semantic roles & 50–950 ramp

primary
#766BF2
secondary
#EDF1C8
accent
#E005CE
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #766BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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