Skip to content

#235df4

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

RGB
35, 93, 244
HSL
223°, 91%, 55%
CMYK
86, 62, 0, 4
Luminance
0.1472

Every format

HEX#235df4
RGBrgb(35, 93, 244)
HSLhsl(223, 91%, 55%)
CMYKcmyk(86%, 62%, 0%, 4%)
LABlab(45.2 38.0 -80.2)
LCHlch(45.2 88.8 295.3)
OKLCHoklch(0.542 0.234 264.0)

Copy-ready code

/* CSS */
color: #235df4;
background-color: #235df4;
/* Tailwind (arbitrary) */
class="text-[#235df4] bg-[#235df4]"
/* SCSS */
$brand: #235df4;
/* SwiftUI */
Color(red: 0.137, green: 0.365, blue: 0.957)
/* Android */
Color.parseColor("#235df4")

Accessibility — WCAG contrast

Aa
#235df4 on white: 5.33:1
AA ✓ pass · AA-large · AAA
Aa
#235df4 on black: 3.94:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red13.7%
Green36.5%
Blue95.7%

CMYK percentages

Cyan85.7%
Magenta61.9%
Yellow0.0%
Key (black)4.3%

Color previews

#235df4 text on a black background

contrast 3.94:1

Card sample

#235df4 text on a white background

contrast 5.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #235df4;
Background color
Panel with #235df4 background
background-color: #235df4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #235df4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(35, 93, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(35, 93, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #235df4;
background: linear-gradient(135deg, #235df4, #7423F4);

Monochromatic scale

Palettes built from #235df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #235df4 in the Color Lab