#768DFA#768DFA

#768DFA is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.6% C 0.162 H 272.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#768DFA
RGBrgb(118, 141, 250)
HSLhsl(230, 93%, 72%)
HSVhsv(230, 53%, 98%)
CMYKcmyk(52.8%, 43.6%, 0%, 2%)
CIE-LABlab(61.48, 21.81, -57.10)
CIE-LCHlch(61.48, 61.12, 290.91°)
OKLaboklab(67.6% 0.0068 -0.1623)
OKLCHoklch(67.6% 0.162 272.4)
XYZxyz(34.2458, 29.8011, 94.3715)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768DFA #FAE376
analogous
#76CFFA #768DFA #A176FA
triadic
#768DFA #FA768D #8DFA76
tetradic
#768DFA #FA76CF #FAE376 #76FAA1
square
#768DFA #FA76CF #FAE376 #76FAA1
split-complementary
#768DFA #FAA176 #CFFA76
monochromatic
#0930ED #3B5CF8 #768DFA #B1BEFC #E1E6FE

Accessibility & contrast

On white

3.02
#768DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#768DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768DFA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768DFA#FFFFFF#000000##000000
##768DFA1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFE
Deuteranopia (green-blind)
#4F8FF8
Tritanopia (blue-blind)
#35A5B7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #768dfa;
/* rgb */ color: rgb(118, 141, 250);
/* oklch */ color: oklch(67.6% 0.162 272.4);
Tailwind
colors: {
  custom: {
    50: '#a6aefc',
    500: '#768dfa',
    950: '#000000',
  },
}
SCSS
$custom: #768dfa;
$custom-light: #a6aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#768dfa",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 229.545,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67603,
    "c": 0.16246,
    "h": 272.4
  },
  "luminance": 0.29803
}

Semantic roles & 50–950 ramp

primary
#768DFA
secondary
#F6F0D5
accent
#BE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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