Skip to content

#082f45

a deep, electric blue · cool · closest name: darkslategray

RGB
8, 47, 69
HSL
202°, 79%, 15%
CMYK
88, 32, 0, 73
Luminance
0.0251

Every format

HEX#082f45
RGBrgb(8, 47, 69)
HSLhsl(202, 79%, 15%)
CMYKcmyk(88%, 32%, 0%, 73%)
LABlab(18.0 -4.2 -17.5)
LCHlch(18.0 18.0 256.5)
OKLCHoklch(0.291 0.058 238.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#082f45 on white: 13.97:1
AA ✓ pass · AA-large · AAA
Aa
#082f45 on black: 1.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.1%
Green18.4%
Blue27.1%

CMYK percentages

Cyan88.4%
Magenta31.9%
Yellow0.0%
Key (black)72.9%

Color previews

#082f45 text on a black background

contrast 1.50:1

Card sample

#082f45 text on a white background

contrast 13.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(8, 47, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 47, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #082f45;
background: linear-gradient(135deg, #082f45, #0A0845);

Monochromatic scale

Palettes built from #082f45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #082f45 in the Color Lab