#768FFA#768FFA

#768FFA is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.0% C 0.160 H 271.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#768FFA
RGBrgb(118, 143, 250)
HSLhsl(229, 93%, 72%)
HSVhsv(229, 53%, 98%)
CMYKcmyk(52.8%, 42.8%, 0%, 2%)
CIE-LABlab(61.99, 20.63, -56.28)
CIE-LCHlch(61.99, 59.94, 290.13°)
OKLaboklab(67.99% 0.0046 -0.1599)
OKLCHoklch(67.99% 0.16 271.7)
XYZxyz(34.5434, 30.3962, 94.4707)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FFA #FAE176
analogous
#76D1FA #768FFA #9F76FA
triadic
#768FFA #FA768F #8FFA76
tetradic
#768FFA #FA76D1 #FAE176 #76FA9F
square
#768FFA #FA76D1 #FAE176 #76FA9F
split-complementary
#768FFA #FA9F76 #D1FA76
monochromatic
#0934ED #3B5FF8 #768FFA #B1BFFC #E1E7FE

Accessibility & contrast

On white

2.97
#768FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#768FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #768FFA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FFA#FFFFFF#000000##000000
##768FFA1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#5290F8
Tritanopia (blue-blind)
#35A6B8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #768ffa;
/* rgb */ color: rgb(118, 143, 250);
/* oklch */ color: oklch(68.0% 0.160 271.7);
Tailwind
colors: {
  custom: {
    50: '#a6affc',
    500: '#768ffa',
    950: '#000000',
  },
}
SCSS
$custom: #768ffa;
$custom-light: #a6affc;
$custom-dark: #000000;
JSON
{
  "hex": "#768ffa",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 228.636,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67994,
    "c": 0.15998,
    "h": 271.7
  },
  "luminance": 0.30399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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