#768EF3#768EF3

#768EF3 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.4% C 0.152 H 271.7°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#768EF3
RGBrgb(118, 142, 243)
HSLhsl(228, 84%, 71%)
HSVhsv(228, 51%, 95%)
CMYKcmyk(51.4%, 41.6%, 0%, 4.7%)
CIE-LABlab(61.37, 19.07, -53.43)
CIE-LCHlch(61.37, 56.73, 289.64°)
OKLaboklab(67.39% 0.0046 -0.1516)
OKLCHoklch(67.39% 0.152 271.7)
XYZxyz(33.3166, 29.6664, 88.7472)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EF3 #F3DB76
analogous
#76CCF3 #768EF3 #9C76F3
triadic
#768EF3 #F3768E #8EF376
tetradic
#768EF3 #F376CC #F3DB76 #76F39C
square
#768EF3 #F376CC #F3DB76 #76F39C
split-complementary
#768EF3 #F39C76 #CCF376
monochromatic
#133ADB #3E60EE #768EF3 #AEBCF8 #E3E8FD

Accessibility & contrast

On white

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

On black

6.93
#768EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EF3
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EF3#FFFFFF#000000##000000
##768EF31.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF7
Deuteranopia (green-blind)
#578FF1
Tritanopia (blue-blind)
#3DA4B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #768ef3;
/* rgb */ color: rgb(118, 142, 243);
/* oklch */ color: oklch(67.4% 0.152 271.7);
Tailwind
colors: {
  custom: {
    50: '#a5aef7',
    500: '#768ef3',
    950: '#000000',
  },
}
SCSS
$custom: #768ef3;
$custom-light: #a5aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#768ef3",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 228.48,
    "s": 83.893,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67392,
    "c": 0.15164,
    "h": 271.7
  },
  "luminance": 0.29669
}

Semantic roles & 50–950 ramp

primary
#768EF3
secondary
#F3EDD2
accent
#B605E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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