#768CF0#768CF0

#768CF0 is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.8% C 0.150 H 272.4°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#768CF0
RGBrgb(118, 140, 240)
HSLhsl(229, 80%, 70%)
HSVhsv(229, 51%, 94%)
CMYKcmyk(50.8%, 41.7%, 0%, 5.9%)
CIE-LABlab(60.69, 19.33, -52.85)
CIE-LCHlch(60.69, 56.28, 290.09°)
OKLaboklab(66.82% 0.0063 -0.1499)
OKLCHoklch(66.82% 0.15 272.4)
XYZxyz(32.5724, 28.8969, 86.2825)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768CF0 #F0DA76
analogous
#76C9F0 #768CF0 #9D76F0
triadic
#768CF0 #F0768C #8CF076
tetradic
#768CF0 #F076C9 #F0DA76 #76F09D
square
#768CF0 #F076C9 #F0DA76 #76F09D
split-complementary
#768CF0 #F09D76 #C9F076
monochromatic
#1739D4 #3F5EEA #768CF0 #ADBAF6 #E3E8FC

Accessibility & contrast

On white

3.10
#768CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#768CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768CF0
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768CF0#FFFFFF#000000##000000
##768CF01.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6398F4
Deuteranopia (green-blind)
#568DEE
Tritanopia (blue-blind)
#40A1B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768cf0;
/* rgb */ color: rgb(118, 140, 240);
/* oklch */ color: oklch(66.8% 0.150 272.4);
Tailwind
colors: {
  custom: {
    50: '#a4adf5',
    500: '#768cf0',
    950: '#000000',
  },
}
SCSS
$custom: #768cf0;
$custom-light: #a4adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#768cf0",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 240
  },
  "hsl": {
    "h": 229.18,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66824,
    "c": 0.15001,
    "h": 272.4
  },
  "luminance": 0.28899
}

Semantic roles & 50–950 ramp

primary
#768CF0
secondary
#F2ECD0
accent
#B609DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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