#768FFB#768FFB

#768FFB is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.1% C 0.161 H 271.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#768FFB
RGBrgb(118, 143, 251)
HSLhsl(229, 94%, 72%)
HSVhsv(229, 53%, 98%)
CMYKcmyk(53%, 43%, 0%, 1.6%)
CIE-LABlab(62.05, 20.94, -56.74)
CIE-LCHlch(62.05, 60.49, 290.26°)
OKLaboklab(68.05% 0.0048 -0.1613)
OKLCHoklch(68.05% 0.161 271.7)
XYZxyz(34.7006, 30.4591, 95.2987)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FFB #FBE276
analogous
#76D1FB #768FFB #A076FB
triadic
#768FFB #FB768F #8FFB76
tetradic
#768FFB #FB76D1 #FBE276 #76FBA0
square
#768FFB #FB76D1 #FBE276 #76FBA0
split-complementary
#768FFB #FBA076 #D1FB76
monochromatic
#0733F0 #3B5EF9 #768FFB #B1C0FD #E1E7FE

Accessibility & contrast

On white

2.96
#768FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#768FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #768FFB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FFB#FFFFFF#000000##000000
##768FFB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#5191F9
Tritanopia (blue-blind)
#34A6B9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #768ffb;
/* rgb */ color: rgb(118, 143, 251);
/* oklch */ color: oklch(68.1% 0.161 271.7);
Tailwind
colors: {
  custom: {
    50: '#a6affd',
    500: '#768ffb',
    950: '#000000',
  },
}
SCSS
$custom: #768ffb;
$custom-light: #a6affd;
$custom-dark: #000000;
JSON
{
  "hex": "#768ffb",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 228.722,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68053,
    "c": 0.16134,
    "h": 271.7
  },
  "luminance": 0.30462
}

Semantic roles & 50–950 ramp

primary
#768FFB
secondary
#F6F0D5
accent
#BA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #768FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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