Skip to content

#768fdf

a light, vivid blue · warm · closest name: dodgerblue

RGB
118, 143, 223
HSL
226°, 62%, 67%
CMYK
47, 36, 0, 13
Luminance
0.2882

Every format

HEX#768fdf
RGBrgb(118, 143, 223)
HSLhsl(226, 62%, 67%)
CMYKcmyk(47%, 36%, 0%, 13%)
LABlab(60.6 12.4 -43.5)
LCHlch(60.6 45.3 285.9)
OKLCHoklch(0.665 0.123 269.7)

Copy-ready code

/* CSS */
color: #768fdf;
background-color: #768fdf;
/* Tailwind (arbitrary) */
class="text-[#768fdf] bg-[#768fdf]"
/* SCSS */
$brand: #768fdf;
/* SwiftUI */
Color(red: 0.463, green: 0.561, blue: 0.875)
/* Android */
Color.parseColor("#768fdf")

Accessibility — WCAG contrast

Aa
#768fdf on white: 3.10:1
AA ✗ fail · AA-large · AAA
Aa
#768fdf on black: 6.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red46.3%
Green56.1%
Blue87.5%

CMYK percentages

Cyan47.1%
Magenta35.9%
Yellow0.0%
Key (black)12.5%

Color previews

#768fdf text on a black background

contrast 6.76:1

Card sample

#768fdf text on a white background

contrast 3.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #768fdf;
Background color
Panel with #768fdf background
background-color: #768fdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #768fdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(118, 143, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(118, 143, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #768fdf;
background: linear-gradient(135deg, #768fdf, #A376DF);

Monochromatic scale

Palettes built from #768fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #768fdf in the Color Lab