Skip to content

#2268ff

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

RGB
34, 104, 255
HSL
221°, 100%, 57%
CMYK
87, 59, 0, 0
Luminance
0.1746

Every format

HEX#2268ff
RGBrgb(34, 104, 255)
HSLhsl(221, 100%, 57%)
CMYKcmyk(87%, 59%, 0%, 0%)
LABlab(48.8 35.0 -80.5)
LCHlch(48.8 87.8 293.5)
OKLCHoklch(0.572 0.235 262.7)

Copy-ready code

/* CSS */
color: #2268ff;
background-color: #2268ff;
/* Tailwind (arbitrary) */
class="text-[#2268ff] bg-[#2268ff]"
/* SCSS */
$brand: #2268ff;
/* SwiftUI */
Color(red: 0.133, green: 0.408, blue: 1.000)
/* Android */
Color.parseColor("#2268ff")

Accessibility — WCAG contrast

Aa
#2268ff on white: 4.67:1
AA ✓ pass · AA-large · AAA
Aa
#2268ff on black: 4.49:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red13.3%
Green40.8%
Blue100.0%

CMYK percentages

Cyan86.7%
Magenta59.2%
Yellow0.0%
Key (black)0.0%

Color previews

#2268ff text on a black background

contrast 4.49:1

Card sample

#2268ff text on a white background

contrast 4.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2268ff;
Background color
Panel with #2268ff background
background-color: #2268ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2268ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(34, 104, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(34, 104, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2268ff;
background: linear-gradient(135deg, #2268ff, #6F22FF);

Monochromatic scale

Palettes built from #2268ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2268ff in the Color Lab