Skip to content

#0026fa

a balanced, electric blue · warm · closest name: blue

RGB
0, 38, 250
HSL
231°, 100%, 49%
CMYK
100, 85, 0, 2
Luminance
0.0829

Every format

HEX#0026fa
RGBrgb(0, 38, 250)
HSLhsl(231, 100%, 49%)
CMYKcmyk(100%, 85%, 0%, 2%)
LABlab(34.6 68.8 -101.3)
LCHlch(34.6 122.4 304.2)
OKLCHoklch(0.466 0.295 264.2)

Copy-ready code

/* CSS */
color: #0026fa;
background-color: #0026fa;
/* Tailwind (arbitrary) */
class="text-[#0026fa] bg-[#0026fa]"
/* SCSS */
$brand: #0026fa;
/* SwiftUI */
Color(red: 0.000, green: 0.149, blue: 0.980)
/* Android */
Color.parseColor("#0026fa")

Accessibility — WCAG contrast

Aa
#0026fa on white: 7.90:1
AA ✓ pass · AA-large · AAA
Aa
#0026fa on black: 2.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green14.9%
Blue98.0%

CMYK percentages

Cyan100.0%
Magenta84.8%
Yellow0.0%
Key (black)2.0%

Color previews

#0026fa text on a black background

contrast 2.66:1

Card sample

#0026fa text on a white background

contrast 7.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0026fa;
Background color
Panel with #0026fa background
background-color: #0026fa;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0026fa;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(0, 38, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 38, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0026fa;
background: linear-gradient(135deg, #0026fa, #8100FA);

Monochromatic scale

Palettes built from #0026fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0026fa in the Color Lab