#768BFA#768BFA

#768BFA is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.2% C 0.165 H 273.1°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#768BFA
RGBrgb(118, 139, 250)
HSLhsl(230, 93%, 72%)
HSVhsv(230, 53%, 98%)
CMYKcmyk(52.8%, 44.4%, 0%, 2%)
CIE-LABlab(60.97, 23.00, -57.91)
CIE-LCHlch(60.97, 62.31, 291.66°)
OKLaboklab(67.21% 0.009 -0.1647)
OKLCHoklch(67.21% 0.165 273.1)
XYZxyz(33.9536, 29.2166, 94.2741)
Luminance0.2922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768BFA #FAE576
analogous
#76CDFA #768BFA #A376FA
triadic
#768BFA #FA768B #8BFA76
tetradic
#768BFA #FA76CD #FAE576 #76FAA3
square
#768BFA #FA76CD #FAE576 #76FAA3
split-complementary
#768BFA #FAA376 #CDFA76
monochromatic
#092DED #3B59F8 #768BFA #B1BDFC #E1E6FE

Accessibility & contrast

On white

3.07
#768BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#768BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768BFA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768BFA#FFFFFF#000000##000000
##768BFA1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FE
Deuteranopia (green-blind)
#4B8EF8
Tritanopia (blue-blind)
#36A3B6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #768bfa;
/* rgb */ color: rgb(118, 139, 250);
/* oklch */ color: oklch(67.2% 0.165 273.1);
Tailwind
colors: {
  custom: {
    50: '#a6acfc',
    500: '#768bfa',
    950: '#000000',
  },
}
SCSS
$custom: #768bfa;
$custom-light: #a6acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#768bfa",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 230.455,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67214,
    "c": 0.16498,
    "h": 273.1
  },
  "luminance": 0.29219
}

Semantic roles & 50–950 ramp

primary
#768BFA
secondary
#F6F1D5
accent
#C100E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #768BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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