#767FEC#767FEC

#767FEC is a light, vivid blue. Relative luminance 0.251; OKLCH L 64.1% C 0.161 H 277.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#767FEC
RGBrgb(118, 127, 236)
HSLhsl(235, 76%, 69%)
HSVhsv(235, 50%, 93%)
CMYKcmyk(50%, 46.2%, 0%, 7.5%)
CIE-LABlab(57.16, 25.84, -56.26)
CIE-LCHlch(57.16, 61.91, 294.67°)
OKLaboklab(64.06% 0.0204 -0.16)
OKLCHoklch(64.06% 0.161 277.3)
XYZxyz(30.1962, 25.0846, 82.5913)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767FEC #ECE376
analogous
#76BAEC #767FEC #A876EC
triadic
#767FEC #EC767F #7FEC76
tetradic
#767FEC #EC76BA #ECE376 #76ECA8
square
#767FEC #EC76BA #ECE376 #76ECA8
split-complementary
#767FEC #ECA876 #BAEC76
monochromatic
#1C2ACB #404DE5 #767FEC #ACB1F3 #E1E3FB

Accessibility & contrast

On white

3.49
#767FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#767FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767FEC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767FEC#FFFFFF#000000##000000
##767FEC1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF0
Deuteranopia (green-blind)
#4485EA
Tritanopia (blue-blind)
#4696AA
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #767fec;
/* rgb */ color: rgb(118, 127, 236);
/* oklch */ color: oklch(64.1% 0.161 277.3);
Tailwind
colors: {
  custom: {
    50: '#a4a4f3',
    500: '#767fec',
    950: '#000000',
  },
}
SCSS
$custom: #767fec;
$custom-light: #a4a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#767fec",
  "rgb": {
    "r": 118,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 235.424,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6406,
    "c": 0.16129,
    "h": 277.3
  },
  "luminance": 0.25086
}

Semantic roles & 50–950 ramp

primary
#767FEC
secondary
#F0EDCE
accent
#C80ED8
background
#FAFAFE
surface
#F4F3FD
border
#CECDD5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #767FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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