Skip to content

#082fcb

a dark, electric blue · cool · closest name: Medium Blue

RGB
8, 47, 203
HSL
228°, 92%, 41%
CMYK
96, 77, 0, 20
Luminance
0.0640

At a glance

Every number on this page in one read: what #082fcb is made of, how bright it looks, and which way it leans.

Hex
#082fcb
Hue
228°
blue
Saturation
92%
electric
Lightness
41%
dark
Brightness
80%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0640
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.21:1
Closest name
Medium Blue
ΔE2000 6.3
Where it sits
Hue228° of 360°
Saturation92%
Lightness41%
Temperature
Warm ← → Cool90% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#082fcb
RGBrgb(8, 47, 203)
HSLhsl(228, 92%, 41%)
CMYKcmyk(96%, 77%, 0%, 20%)
LABlab(30.4 50.1 -81.3)
LCHlch(30.4 95.5 301.7)
OKLCHoklch(0.420 0.237 264.6)
Decimal536523
Display P3color(display-p3 0.031 0.184 0.796)

Copy-ready code

/* CSS */
color: #082fcb;
background-color: #082fcb;
/* Tailwind (arbitrary) */
class="text-[#082fcb] bg-[#082fcb]"
/* SCSS */
$brand: #082fcb;
/* SwiftUI */
Color(red: 0.031, green: 0.184, blue: 0.796)
/* Android */
Color.parseColor("#082fcb")
/* Flutter */
Color(0xFF082FCB)
/* Python / OpenCV (BGR) */
(203, 47, 8)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #082fcb · 9.21:1
Use #ffffffAAA at every size.
Aa
White text · 9.21:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.28:1
AA fail · AA large fail · AAA fail
Reading the other direction: #082fcb as text scores 9.21:1 on white and 2.28:1 on black.

Accessibility — WCAG contrast

Aa
#082fcb on white: 9.21:1
AA ✓ pass · AA-large · AAA
Aa
#082fcb on black: 2.28:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0051CF
deuteranopia · #003EC8
tritanopia · #005F7C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #082fcb is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F2F4FD
#E4E9FB
#C3CDF9
#93A8FB
#5D7CF9
#2751F6
#0937EB
#082fcb
#06249D
#091E71
#061347
Base = 700Lightest = 50 · #F2F4FDDarkest = 950 · #061347
:root {
  --brand-50: #F2F4FD;
  --brand-100: #E4E9FB;
  --brand-200: #C3CDF9;
  --brand-300: #93A8FB;
  --brand-400: #5D7CF9;
  --brand-500: #2751F6;
  --brand-600: #0937EB;
  --brand-700: #082fcb;
  --brand-800: #06249D;
  --brand-900: #091E71;
  --brand-950: #061347;
  --brand: #082fcb;
  --brand-ink: #ffffff;
}

Colors that work with #082fcb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F6FA
Tinted page background
Border#C0C9ED
Hairlines and dividers
Muted text#4B5B9B
Captions on the surface
Accent#CF7404
Second voice, not a rival
Dark variant#051C7B
Hover, pressed, headers
Light variant#E6EBFE
Selected rows, tints
Dark surface#141724
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #082fcb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#CBA408
Analogous left#0891CB
Analogous right#4308CB
Split-complement 1#CB4308
Split-complement 2#91CB08
Triadic 1#CB082F
Triadic 2#2FCB08
Tetradic#CB0891

RGB percentages

Red3.1%
Green18.4%
Blue79.6%

CMYK percentages

Cyan96.1%
Magenta76.8%
Yellow0.0%
Key (black)20.4%

Color previews

#082fcb text on a black background

contrast 2.28:1

Card sample

#082fcb text on a white background

contrast 9.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #082fcb

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#082fcb in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#082fcb, answered

What color is #082fcb?

#082fcb is a dark electric blue, closest to Medium Blue (ΔE2000 6.3). It sits at 228° on the hue wheel with 92% saturation and 41% lightness, which reads as cool.

What is the RGB value of #082fcb?

rgb(8, 47, 203) — 8 red, 47 green and 203 blue out of 255, or 3.1% / 18.4% / 79.6% by channel.

Is #082fcb a light or a dark color?

It is a dark color. Relative luminance is 0.0640 and perceived brightness is 30%, so white text on it reaches 9.21:1.

Should I use black or white text on #082fcb?

White. It scores 9.21:1 against #082fcb, versus 2.28:1 for black — AAA at any size.

What is the complementary color of #082fcb?

#CBA408 sits directly opposite on the wheel. Softer options are the split-complements #CB4308 and #91CB08, which give the same contrast with far less vibration.

What colors go well with #082fcb?

For interface work: #F4F6FA as the surface, #C0C9ED for borders, #4B5B9B for secondary text, #CF7404 as an accent and #051C7B for hover and pressed states. For a palette, the analogous pair #0891CB and #4308CB stays calm, while #CBA408 is the loudest partner.

What is #082fcb in CMYK for printing?

cmyk(96%, 77%, 0%, 20%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #082fcb warm or cool?

Cool — it scores 90 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2908CB; nudged cooler, #0649CD.

Work with #082fcb in the Color Lab