Skip to content

#1786fc

a balanced, electric blue · cool · closest name: dodgerblue

RGB
23, 134, 252
HSL
211°, 97%, 54%
CMYK
91, 47, 0, 1
Luminance
0.2426

Every format

HEX#1786fc
RGBrgb(23, 134, 252)
HSLhsl(211, 97%, 54%)
CMYKcmyk(91%, 47%, 0%, 1%)
LABlab(56.3 14.6 -66.6)
LCHlch(56.3 68.2 282.3)
OKLCHoklch(0.628 0.198 255.2)

Copy-ready code

/* CSS */
color: #1786fc;
background-color: #1786fc;
/* Tailwind (arbitrary) */
class="text-[#1786fc] bg-[#1786fc]"
/* SCSS */
$brand: #1786fc;
/* SwiftUI */
Color(red: 0.090, green: 0.525, blue: 0.988)
/* Android */
Color.parseColor("#1786fc")

Accessibility — WCAG contrast

Aa
#1786fc on white: 3.59:1
AA ✗ fail · AA-large · AAA
Aa
#1786fc on black: 5.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red9.0%
Green52.5%
Blue98.8%

CMYK percentages

Cyan90.9%
Magenta46.8%
Yellow0.0%
Key (black)1.2%

Color previews

#1786fc text on a black background

contrast 5.85:1

Card sample

#1786fc text on a white background

contrast 3.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1786fc;
Background color
Panel with #1786fc background
background-color: #1786fc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #1786fc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(23, 134, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 134, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1786fc;
background: linear-gradient(135deg, #1786fc, #4117FC);

Monochromatic scale

Palettes built from #1786fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1786fc in the Color Lab