#767AF2#767AF2

#767AF2 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.5% C 0.176 H 278.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#767AF2
RGBrgb(118, 122, 242)
HSLhsl(238, 83%, 71%)
HSVhsv(238, 51%, 95%)
CMYKcmyk(51.2%, 49.6%, 0%, 5.1%)
CIE-LABlab(56.27, 30.64, -61.02)
CIE-LCHlch(56.27, 68.28, 296.66°)
OKLaboklab(63.5% 0.0266 -0.174)
OKLCHoklch(63.5% 0.176 278.7)
XYZxyz(30.4528, 24.1796, 87.0496)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767AF2 #F2EE76
analogous
#76B8F2 #767AF2 #B076F2
triadic
#767AF2 #F2767A #7AF276
tetradic
#767AF2 #F276B8 #F2EE76 #76F2B0
square
#767AF2 #F276B8 #F2EE76 #76F2B0
split-complementary
#767AF2 #F2B076 #B8F276
monochromatic
#151BD9 #3E44ED #767AF2 #AEB0F7 #E3E4FC

Accessibility & contrast

On white

3.60
#767AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#767AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767AF2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767AF2#FFFFFF#000000##000000
##767AF21.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#408CF6
Deuteranopia (green-blind)
#3282EF
Tritanopia (blue-blind)
#4294AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #767af2;
/* rgb */ color: rgb(118, 122, 242);
/* oklch */ color: oklch(63.5% 0.176 278.7);
Tailwind
colors: {
  custom: {
    50: '#a5a0f7',
    500: '#767af2',
    950: '#000000',
  },
}
SCSS
$custom: #767af2;
$custom-light: #a5a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#767af2",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 238.065,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.635,
    "c": 0.17603,
    "h": 278.7
  },
  "luminance": 0.24181
}

Semantic roles & 50–950 ramp

primary
#767AF2
secondary
#F3F2D1
accent
#D806DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #767AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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