#768EF2#768EF2

#768EF2 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.3% C 0.150 H 271.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#768EF2
RGBrgb(118, 142, 242)
HSLhsl(228, 83%, 71%)
HSVhsv(228, 51%, 95%)
CMYKcmyk(51.2%, 41.3%, 0%, 5.1%)
CIE-LABlab(61.31, 18.76, -52.97)
CIE-LCHlch(61.31, 56.19, 289.51°)
OKLaboklab(67.33% 0.0044 -0.1502)
OKLCHoklch(67.33% 0.15 271.7)
XYZxyz(33.1661, 29.6062, 87.9541)
Luminance0.2961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EF2 #F2DA76
analogous
#76CCF2 #768EF2 #9C76F2
triadic
#768EF2 #F2768E #8EF276
tetradic
#768EF2 #F276CC #F2DA76 #76F29C
square
#768EF2 #F276CC #F2DA76 #76F29C
split-complementary
#768EF2 #F29C76 #CCF276
monochromatic
#153BD9 #3E60ED #768EF2 #AEBCF7 #E3E8FC

Accessibility & contrast

On white

3.03
#768EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#768EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EF2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EF2#FFFFFF#000000##000000
##768EF21.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF6
Deuteranopia (green-blind)
#588FF0
Tritanopia (blue-blind)
#3EA3B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #768ef2;
/* rgb */ color: rgb(118, 142, 242);
/* oklch */ color: oklch(67.3% 0.150 271.7);
Tailwind
colors: {
  custom: {
    50: '#a5aef7',
    500: '#768ef2',
    950: '#000000',
  },
}
SCSS
$custom: #768ef2;
$custom-light: #a5aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#768ef2",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 228.387,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67335,
    "c": 0.15026,
    "h": 271.7
  },
  "luminance": 0.29608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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