Skip to content

#082ace

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

RGB
8, 42, 206
HSL
230°, 93%, 42%
CMYK
96, 80, 0, 19
Luminance
0.0616

Every format

HEX#082ace
RGBrgb(8, 42, 206)
HSLhsl(230, 93%, 42%)
CMYKcmyk(96%, 80%, 0%, 19%)
LABlab(29.8 53.8 -84.0)
LCHlch(29.8 99.8 302.6)
OKLCHoklch(0.417 0.245 264.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#082ace on white: 9.41:1
AA ✓ pass · AA-large · AAA
Aa
#082ace on black: 2.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.1%
Green16.5%
Blue80.8%

CMYK percentages

Cyan96.1%
Magenta79.6%
Yellow0.0%
Key (black)19.2%

Color previews

#082ace text on a black background

contrast 2.23:1

Card sample

#082ace text on a white background

contrast 9.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(8, 42, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 42, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #082ace;
background: linear-gradient(135deg, #082ace, #6A08CE);

Monochromatic scale

Palettes built from #082ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #082ace in the Color Lab