#767EF2#767EF2

#767EF2 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.2% C 0.171 H 277.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#767EF2
RGBrgb(118, 126, 242)
HSLhsl(236, 83%, 71%)
HSVhsv(236, 51%, 95%)
CMYKcmyk(51.2%, 47.9%, 0%, 5.1%)
CIE-LABlab(57.25, 28.26, -59.44)
CIE-LCHlch(57.25, 65.82, 295.43°)
OKLaboklab(64.24% 0.0222 -0.1693)
OKLCHoklch(64.24% 0.171 277.5)
XYZxyz(30.9541, 25.1822, 87.2167)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767EF2 #F2EA76
analogous
#76BCF2 #767EF2 #AC76F2
triadic
#767EF2 #F2767E #7EF276
tetradic
#767EF2 #F276BC #F2EA76 #76F2AC
square
#767EF2 #F276BC #F2EA76 #76F2AC
split-complementary
#767EF2 #F2AC76 #BCF276
monochromatic
#1521D9 #3E49ED #767EF2 #AEB3F7 #E3E5FC

Accessibility & contrast

On white

3.48
#767EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#767EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767EF2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767EF2#FFFFFF#000000##000000
##767EF21.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#488FF6
Deuteranopia (green-blind)
#3B85EF
Tritanopia (blue-blind)
#4197AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #767ef2;
/* rgb */ color: rgb(118, 126, 242);
/* oklch */ color: oklch(64.2% 0.171 277.5);
Tailwind
colors: {
  custom: {
    50: '#a5a3f7',
    500: '#767ef2',
    950: '#000000',
  },
}
SCSS
$custom: #767ef2;
$custom-light: #a5a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#767ef2",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 236.129,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64243,
    "c": 0.17078,
    "h": 277.5
  },
  "luminance": 0.25184
}

Semantic roles & 50–950 ramp

primary
#767EF2
secondary
#F3F1D1
accent
#D106DF
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #767EF2

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

Preview Lab → · Contrast checker → · Palette generator →

#767EF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva