#768FDF#768FDF

#768FDF is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.5% C 0.123 H 269.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#768FDF
RGBrgb(118, 143, 223)
HSLhsl(226, 62%, 67%)
HSVhsv(226, 47%, 87%)
CMYKcmyk(47.1%, 35.9%, 0%, 12.5%)
CIE-LABlab(60.62, 12.44, -43.53)
CIE-LCHlch(60.62, 45.27, 285.95°)
OKLaboklab(66.5% -0.0007 -0.1226)
OKLCHoklch(66.5% 0.123 269.7)
XYZxyz(30.6087, 28.8223, 73.7481)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768FDF #DFC676
analogous
#76C4DF #768FDF #9276DF
triadic
#768FDF #DF768F #8FDF76
tetradic
#768FDF #DF76C4 #DFC676 #76DF92
square
#768FDF #DF76C4 #DFC676 #76DF92
split-complementary
#768FDF #DF9276 #C4DF76
monochromatic
#294AB1 #4466D3 #768FDF #A8B8EB #D9E0F6

Accessibility & contrast

On white

3.10
#768FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#768FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768FDF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768FDF#FFFFFF#000000##000000
##768FDF1.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7197E2
Deuteranopia (green-blind)
#678EDD
Tritanopia (blue-blind)
#4DA0AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #768fdf;
/* rgb */ color: rgb(118, 143, 223);
/* oklch */ color: oklch(66.5% 0.123 269.7);
Tailwind
colors: {
  custom: {
    50: '#a3afe9',
    500: '#768fdf',
    950: '#000000',
  },
}
SCSS
$custom: #768fdf;
$custom-light: #a3afe9;
$custom-dark: #000000;
JSON
{
  "hex": "#768fdf",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 223
  },
  "hsl": {
    "h": 225.714,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66495,
    "c": 0.12264,
    "h": 269.7
  },
  "luminance": 0.28824
}

Semantic roles & 50–950 ramp

primary
#768FDF
secondary
#E9E1C8
accent
#A01CCA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #768FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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