#768FF0#768FF0

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

Color values

HEX#768FF0
RGBrgb(118, 143, 240)
HSLhsl(228, 80%, 70%)
HSVhsv(228, 51%, 94%)
CMYKcmyk(50.8%, 40.4%, 0%, 5.9%)
CIE-LABlab(61.47, 17.56, -51.62)
CIE-LCHlch(61.47, 54.52, 288.79°)
OKLaboklab(67.42% 0.0029 -0.1462)
OKLCHoklch(67.42% 0.146 271.1)
XYZxyz(33.0168, 29.7856, 86.4306)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FF0 #F0D776
analogous
#76CCF0 #768FF0 #9A76F0
triadic
#768FF0 #F0768F #8FF076
tetradic
#768FF0 #F076CC #F0D776 #76F09A
square
#768FF0 #F076CC #F0D776 #76F09A
split-complementary
#768FF0 #F09A76 #CCF076
monochromatic
#173ED4 #3F62EA #768FF0 #ADBCF6 #E3E8FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768FF0#FFFFFF#000000##000000
##768FF01.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)
#689AF4
Deuteranopia (green-blind)
#5B8FEE
Tritanopia (blue-blind)
#40A4B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #768ff0;
/* rgb */ color: rgb(118, 143, 240);
/* oklch */ color: oklch(67.4% 0.146 271.1);
Tailwind
colors: {
  custom: {
    50: '#a4aff5',
    500: '#768ff0',
    950: '#000000',
  },
}
SCSS
$custom: #768ff0;
$custom-light: #a4aff5;
$custom-dark: #000000;
JSON
{
  "hex": "#768ff0",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 240
  },
  "hsl": {
    "h": 227.705,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6742,
    "c": 0.14627,
    "h": 271.1
  },
  "luminance": 0.29788
}

Semantic roles & 50–950 ramp

primary
#768FF0
secondary
#F2EBD0
accent
#B109DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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