#768EF1#768EF1

#768EF1 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.3% C 0.149 H 271.6°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#768EF1
RGBrgb(118, 142, 241)
HSLhsl(228, 81%, 70%)
HSVhsv(228, 51%, 95%)
CMYKcmyk(51%, 41.1%, 0%, 5.5%)
CIE-LABlab(61.26, 18.46, -52.50)
CIE-LCHlch(61.26, 55.65, 289.37°)
OKLaboklab(67.28% 0.0042 -0.1488)
OKLCHoklch(67.28% 0.149 271.6)
XYZxyz(33.0163, 29.5463, 87.1653)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768EF1 #F1D976
analogous
#76CBF1 #768EF1 #9C76F1
triadic
#768EF1 #F1768E #8EF176
tetradic
#768EF1 #F176CB #F1D976 #76F19C
square
#768EF1 #F176CB #F1D976 #76F19C
split-complementary
#768EF1 #F19C76 #CBF176
monochromatic
#163CD7 #3E60EB #768EF1 #AEBCF7 #E3E8FC

Accessibility & contrast

On white

3.04
#768EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#768EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768EF1
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768EF1#FFFFFF#000000##000000
##768EF11.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F5
Deuteranopia (green-blind)
#598FEF
Tritanopia (blue-blind)
#3FA3B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #768ef1;
/* rgb */ color: rgb(118, 142, 241);
/* oklch */ color: oklch(67.3% 0.149 271.6);
Tailwind
colors: {
  custom: {
    50: '#a4aef6',
    500: '#768ef1',
    950: '#000000',
  },
}
SCSS
$custom: #768ef1;
$custom-light: #a4aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#768ef1",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 241
  },
  "hsl": {
    "h": 228.293,
    "s": 81.457,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67278,
    "c": 0.14889,
    "h": 271.6
  },
  "luminance": 0.29548
}

Semantic roles & 50–950 ramp

primary
#768EF1
secondary
#F2ECD1
accent
#B408DE
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #768EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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