#768AFA#768AFA

#768AFA is a light, vivid blue. Relative luminance 0.289; OKLCH L 67.0% C 0.166 H 273.5°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#768AFA
RGBrgb(118, 138, 250)
HSLhsl(231, 93%, 72%)
HSVhsv(231, 53%, 98%)
CMYKcmyk(52.8%, 44.8%, 0%, 2%)
CIE-LABlab(60.72, 23.59, -58.32)
CIE-LCHlch(60.72, 62.91, 292.02°)
OKLaboklab(67.02% 0.0101 -0.1659)
OKLCHoklch(67.02% 0.166 273.5)
XYZxyz(33.8095, 28.9284, 94.2261)
Luminance0.2893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AFA #FAE676
analogous
#76CCFA #768AFA #A476FA
triadic
#768AFA #FA768A #8AFA76
tetradic
#768AFA #FA76CC #FAE676 #76FAA4
square
#768AFA #FA76CC #FAE676 #76FAA4
split-complementary
#768AFA #FAA476 #CCFA76
monochromatic
#092BED #3B58F8 #768AFA #B1BCFC #E1E6FE

Accessibility & contrast

On white

3.09
#768AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#768AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AFA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AFA#FFFFFF#000000##000000
##768AFA1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FE
Deuteranopia (green-blind)
#498DF8
Tritanopia (blue-blind)
#36A2B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768afa;
/* rgb */ color: rgb(118, 138, 250);
/* oklch */ color: oklch(67.0% 0.166 273.5);
Tailwind
colors: {
  custom: {
    50: '#a6abfc',
    500: '#768afa',
    950: '#000000',
  },
}
SCSS
$custom: #768afa;
$custom-light: #a6abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#768afa",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 230.909,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6702,
    "c": 0.16623,
    "h": 273.5
  },
  "luminance": 0.28931
}

Semantic roles & 50–950 ramp

primary
#768AFA
secondary
#F6F1D5
accent
#C300E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #768AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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