#768FFD#768FFD

#768FFD is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.2% C 0.164 H 271.8°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#768FFD
RGBrgb(118, 143, 253)
HSLhsl(229, 97%, 73%)
HSVhsv(229, 53%, 99%)
CMYKcmyk(53.4%, 43.5%, 0%, 0.8%)
CIE-LABlab(62.16, 21.56, -57.67)
CIE-LCHlch(62.16, 61.57, 290.50°)
OKLaboklab(68.17% 0.0051 -0.164)
OKLCHoklch(68.17% 0.164 271.8)
XYZxyz(35.0175, 30.5859, 96.9679)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FFD #FDE476
analogous
#76D2FD #768FFD #A076FD
triadic
#768FFD #FD768F #8FFD76
tetradic
#768FFD #FD76D2 #FDE476 #76FDA0
square
#768FFD #FD76D2 #FDE476 #76FDA0
split-complementary
#768FFD #FDA076 #D2FD76
monochromatic
#0430F5 #3A5EFC #768FFD #B2C0FE #E1E6FF

Accessibility & contrast

On white

2.95
#768FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#768FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #768FFD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FFD#FFFFFF#000000##000000
##768FFD1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#4F91FB
Tritanopia (blue-blind)
#31A7BA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #768ffd;
/* rgb */ color: rgb(118, 143, 253);
/* oklch */ color: oklch(68.2% 0.164 271.8);
Tailwind
colors: {
  custom: {
    50: '#a6affe',
    500: '#768ffd',
    950: '#000000',
  },
}
SCSS
$custom: #768ffd;
$custom-light: #a6affe;
$custom-dark: #000000;
JSON
{
  "hex": "#768ffd",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 228.889,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68171,
    "c": 0.16406,
    "h": 271.8
  },
  "luminance": 0.30588
}

Semantic roles & 50–950 ramp

primary
#768FFD
secondary
#F7F0D4
accent
#BB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #768FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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