Skip to content

#020ace

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

RGB
2, 10, 206
HSL
238°, 98%, 41%
CMYK
99, 95, 0, 19
Luminance
0.0469

Every format

HEX#020ace
RGBrgb(2, 10, 206)
HSLhsl(238, 98%, 41%)
CMYKcmyk(99%, 95%, 0%, 19%)
LABlab(25.8 65.4 -90.7)
LCHlch(25.8 111.8 305.8)
OKLCHoklch(0.390 0.263 264.3)

Copy-ready code

/* CSS */
color: #020ace;
background-color: #020ace;
/* Tailwind (arbitrary) */
class="text-[#020ace] bg-[#020ace]"
/* SCSS */
$brand: #020ace;
/* SwiftUI */
Color(red: 0.008, green: 0.039, blue: 0.808)
/* Android */
Color.parseColor("#020ace")

Accessibility — WCAG contrast

Aa
#020ace on white: 10.84:1
AA ✓ pass · AA-large · AAA
Aa
#020ace on black: 1.94:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.8%
Green3.9%
Blue80.8%

CMYK percentages

Cyan99.0%
Magenta95.1%
Yellow0.0%
Key (black)19.2%

Color previews

#020ace text on a black background

contrast 1.94:1

Card sample

#020ace text on a white background

contrast 10.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #020ace;
Background color
Panel with #020ace background
background-color: #020ace;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #020ace;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(2, 10, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 10, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #020ace;
background: linear-gradient(135deg, #020ace, #8202CE);

Monochromatic scale

Palettes built from #020ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #020ace in the Color Lab