#768FF2#768FF2

#768FF2 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.5% C 0.149 H 271.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#768FF2
RGBrgb(118, 143, 242)
HSLhsl(228, 83%, 71%)
HSVhsv(228, 51%, 95%)
CMYKcmyk(51.2%, 40.9%, 0%, 5.1%)
CIE-LABlab(61.57, 18.17, -52.55)
CIE-LCHlch(61.57, 55.61, 289.08°)
OKLaboklab(67.53% 0.0033 -0.149)
OKLCHoklch(67.53% 0.149 271.2)
XYZxyz(33.3155, 29.9051, 88.0039)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FF2 #F2D976
analogous
#76CDF2 #768FF2 #9B76F2
triadic
#768FF2 #F2768F #8FF276
tetradic
#768FF2 #F276CD #F2D976 #76F29B
square
#768FF2 #F276CD #F2D976 #76F29B
split-complementary
#768FF2 #F29B76 #CDF276
monochromatic
#153CD9 #3E61ED #768FF2 #AEBDF7 #E3E8FC

Accessibility & contrast

On white

3.01
#768FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#768FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768FF2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FF2#FFFFFF#000000##000000
##768FF21.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF6
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#3EA4B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #768ff2;
/* rgb */ color: rgb(118, 143, 242);
/* oklch */ color: oklch(67.5% 0.149 271.2);
Tailwind
colors: {
  custom: {
    50: '#a5aff7',
    500: '#768ff2',
    950: '#000000',
  },
}
SCSS
$custom: #768ff2;
$custom-light: #a5aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#768ff2",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 227.903,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67533,
    "c": 0.14903,
    "h": 271.2
  },
  "luminance": 0.29907
}

Semantic roles & 50–950 ramp

primary
#768FF2
secondary
#F3ECD1
accent
#B306DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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