#768EF0#768EF0

#768EF0 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.2% C 0.148 H 271.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#768EF0
RGBrgb(118, 142, 240)
HSLhsl(228, 80%, 70%)
HSVhsv(228, 51%, 94%)
CMYKcmyk(50.8%, 40.8%, 0%, 5.9%)
CIE-LABlab(61.21, 18.15, -52.03)
CIE-LCHlch(61.21, 55.10, 289.23°)
OKLaboklab(67.22% 0.004 -0.1475)
OKLCHoklch(67.22% 0.148 271.6)
XYZxyz(32.8673, 29.4867, 86.3808)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EF0 #F0D876
analogous
#76CBF0 #768EF0 #9B76F0
triadic
#768EF0 #F0768E #8EF076
tetradic
#768EF0 #F076CB #F0D876 #76F09B
square
#768EF0 #F076CB #F0D876 #76F09B
split-complementary
#768EF0 #F09B76 #CBF076
monochromatic
#173CD4 #3F61EA #768EF0 #ADBBF6 #E3E8FC

Accessibility & contrast

On white

3.04
#768EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#768EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EF0
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EF0#FFFFFF#000000##000000
##768EF01.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F4
Deuteranopia (green-blind)
#598FEE
Tritanopia (blue-blind)
#40A3B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #768ef0;
/* rgb */ color: rgb(118, 142, 240);
/* oklch */ color: oklch(67.2% 0.148 271.6);
Tailwind
colors: {
  custom: {
    50: '#a4aef5',
    500: '#768ef0',
    950: '#000000',
  },
}
SCSS
$custom: #768ef0;
$custom-light: #a4aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#768ef0",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 240
  },
  "hsl": {
    "h": 228.197,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67221,
    "c": 0.14751,
    "h": 271.6
  },
  "luminance": 0.29489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #768EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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