#768FF5#768FF5

#768FF5 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.7% C 0.153 H 271.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#768FF5
RGBrgb(118, 143, 245)
HSLhsl(228, 86%, 71%)
HSVhsv(228, 52%, 96%)
CMYKcmyk(51.8%, 41.6%, 0%, 3.9%)
CIE-LABlab(61.73, 19.09, -53.96)
CIE-LCHlch(61.73, 57.24, 289.49°)
OKLaboklab(67.71% 0.0038 -0.1531)
OKLCHoklch(67.71% 0.153 271.4)
XYZxyz(33.7698, 30.0868, 90.3963)
Luminance0.3009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FF5 #F5DC76
analogous
#76CEF5 #768FF5 #9C76F5
triadic
#768FF5 #F5768F #8FF576
tetradic
#768FF5 #F576CE #F5DC76 #76F59C
square
#768FF5 #F576CE #F5DC76 #76F59C
split-complementary
#768FF5 #F59C76 #CEF576
monochromatic
#1039E0 #3D60F1 #768FF5 #AFBEF9 #E2E8FD

Accessibility & contrast

On white

2.99
#768FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#768FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #768FF5
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FF5#FFFFFF#000000##000000
##768FF51.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF9
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#3BA5B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #768ff5;
/* rgb */ color: rgb(118, 143, 245);
/* oklch */ color: oklch(67.7% 0.153 271.4);
Tailwind
colors: {
  custom: {
    50: '#a5aff9',
    500: '#768ff5',
    950: '#000000',
  },
}
SCSS
$custom: #768ff5;
$custom-light: #a5aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#768ff5",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 228.189,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67705,
    "c": 0.15315,
    "h": 271.4
  },
  "luminance": 0.30089
}

Semantic roles & 50–950 ramp

primary
#768FF5
secondary
#F4EED3
accent
#B703E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768FF5

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

Preview Lab → · Contrast checker → · Palette generator →

#768FF5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva