#768FF9#768FF9

#768FF9 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.9% C 0.159 H 271.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#768FF9
RGBrgb(118, 143, 249)
HSLhsl(229, 92%, 72%)
HSVhsv(229, 53%, 98%)
CMYKcmyk(52.6%, 42.6%, 0%, 2.4%)
CIE-LABlab(61.94, 20.32, -55.82)
CIE-LCHlch(61.94, 59.40, 290.01°)
OKLaboklab(67.94% 0.0045 -0.1585)
OKLCHoklch(67.94% 0.159 271.6)
XYZxyz(34.3870, 30.3337, 93.6471)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FF9 #F9E076
analogous
#76D0F9 #768FF9 #9F76F9
triadic
#768FF9 #F9768F #8FF976
tetradic
#768FF9 #F976D0 #F9E076 #76F99F
square
#768FF9 #F976D0 #F9E076 #76F99F
split-complementary
#768FF9 #F99F76 #D0F976
monochromatic
#0A35EA #3B5FF6 #768FF9 #B1BFFC #E2E7FE

Accessibility & contrast

On white

2.97
#768FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#768FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #768FF9
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FF9#FFFFFF#000000##000000
##768FF91.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFD
Deuteranopia (green-blind)
#5390F7
Tritanopia (blue-blind)
#36A6B8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #768ff9;
/* rgb */ color: rgb(118, 143, 249);
/* oklch */ color: oklch(67.9% 0.159 271.6);
Tailwind
colors: {
  custom: {
    50: '#a5affc',
    500: '#768ff9',
    950: '#000000',
  },
}
SCSS
$custom: #768ff9;
$custom-light: #a5affc;
$custom-dark: #000000;
JSON
{
  "hex": "#768ff9",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 249
  },
  "hsl": {
    "h": 228.55,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67936,
    "c": 0.15861,
    "h": 271.6
  },
  "luminance": 0.30336
}

Semantic roles & 50–950 ramp

primary
#768FF9
secondary
#F6F0D5
accent
#BA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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