#768AF2#768AF2

#768AF2 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.5% C 0.155 H 273.3°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#768AF2
RGBrgb(118, 138, 242)
HSLhsl(230, 83%, 71%)
HSVhsv(230, 51%, 95%)
CMYKcmyk(51.2%, 43%, 0%, 5.1%)
CIE-LABlab(60.28, 21.13, -54.61)
CIE-LCHlch(60.28, 58.55, 291.15°)
OKLaboklab(66.55% 0.0089 -0.155)
OKLCHoklch(66.55% 0.155 273.3)
XYZxyz(32.5816, 28.4372, 87.7592)
Luminance0.2844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768AF2 #F2DE76
analogous
#76C8F2 #768AF2 #A076F2
triadic
#768AF2 #F2768A #8AF276
tetradic
#768AF2 #F276C8 #F2DE76 #76F2A0
square
#768AF2 #F276C8 #F2DE76 #76F2A0
split-complementary
#768AF2 #F2A076 #C8F276
monochromatic
#1534D9 #3E5AED #768AF2 #AEBAF7 #E3E7FC

Accessibility & contrast

On white

3.14
#768AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#768AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768AF2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768AF2#FFFFFF#000000##000000
##768AF21.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F6
Deuteranopia (green-blind)
#518CF0
Tritanopia (blue-blind)
#3FA0B2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #768af2;
/* rgb */ color: rgb(118, 138, 242);
/* oklch */ color: oklch(66.5% 0.155 273.3);
Tailwind
colors: {
  custom: {
    50: '#a5abf7',
    500: '#768af2',
    950: '#000000',
  },
}
SCSS
$custom: #768af2;
$custom-light: #a5abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#768af2",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 230.323,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66545,
    "c": 0.15529,
    "h": 273.3
  },
  "luminance": 0.28439
}

Semantic roles & 50–950 ramp

primary
#768AF2
secondary
#F3EDD1
accent
#BC06DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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