Skip to content

#080cdf

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

RGB
8, 12, 223
HSL
239°, 93%, 45%
CMYK
96, 95, 0, 13
Luminance
0.0564

At a glance

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

Hex
#080cdf
Hue
239°
blue
Saturation
93%
electric
Lightness
45%
balanced
Brightness
87%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0564
WCAG relative
Temperature
Cool
84/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.87:1
Closest name
Medium Blue
ΔE2000 2.8
Where it sits
Hue239° of 360°
Saturation93%
Lightness45%
Temperature
Warm ← → Cool84% 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#080cdf
RGBrgb(8, 12, 223)
HSLhsl(239, 93%, 45%)
CMYKcmyk(96%, 95%, 0%, 13%)
LABlab(28.5 69.4 -96.0)
LCHlch(28.5 118.5 305.9)
OKLCHoklch(0.414 0.279 264.8)
Decimal527583
Display P3color(display-p3 0.031 0.047 0.875)

Copy-ready code

/* CSS */
color: #080cdf;
background-color: #080cdf;
/* Tailwind (arbitrary) */
class="text-[#080cdf] bg-[#080cdf]"
/* SCSS */
$brand: #080cdf;
/* SwiftUI */
Color(red: 0.031, green: 0.047, blue: 0.875)
/* Android */
Color.parseColor("#080cdf")
/* Flutter */
Color(0xFF080CDF)
/* Python / OpenCV (BGR) */
(223, 12, 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 #080cdf · 9.87:1
Use #ffffffAAA at every size.
Aa
White text · 9.87:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.13:1
AA fail · AA large fail · AAA fail
Reading the other direction: #080cdf as text scores 9.87:1 on white and 2.13:1 on black.

Accessibility — WCAG contrast

Aa
#080cdf on white: 9.87:1
AA ✓ pass · AA-large · AAA
Aa
#080cdf on black: 2.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004EE4
deuteranopia · #0037DC
tritanopia · #005E83

Color scale — 50 to 950

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

#F2F2FD
#E4E5FB
#C2C3F9
#9395FB
#5D5FF9
#262AF7
#080cdf
#070BC5
#06089E
#090B72
#050747
Base = 600Lightest = 50 · #F2F2FDDarkest = 950 · #050747
:root {
  --brand-50: #F2F2FD;
  --brand-100: #E4E5FB;
  --brand-200: #C2C3F9;
  --brand-300: #9395FB;
  --brand-400: #5D5FF9;
  --brand-500: #262AF7;
  --brand-600: #080cdf;
  --brand-700: #070BC5;
  --brand-800: #06089E;
  --brand-900: #090B72;
  --brand-950: #050747;
  --brand: #080cdf;
  --brand-ink: #ffffff;
}

Colors that work with #080cdf

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#F4F4FA
Tinted page background
Border#C0C1ED
Hairlines and dividers
Muted text#4B4C9B
Captions on the surface
Accent#C99303
Second voice, not a rival
Dark variant#04077B
Hover, pressed, headers
Light variant#E6E7FE
Selected rows, tints
Dark surface#141424
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 #080cdf

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
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • 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#DFDB08
Analogous left#0877DF
Analogous right#7008DF
Split-complement 1#DF7008
Split-complement 2#77DF08
Triadic 1#DF080C
Triadic 2#0CDF08
Tetradic#DF0877

RGB percentages

Red3.1%
Green4.7%
Blue87.5%

CMYK percentages

Cyan96.4%
Magenta94.6%
Yellow0.0%
Key (black)12.5%

Color previews

#080cdf text on a black background

contrast 2.13:1

Card sample

#080cdf text on a white background

contrast 9.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #080cdf;
Background color
Panel with #080cdf background
background-color: #080cdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #080cdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(8, 12, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 12, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080cdf;
background: linear-gradient(135deg, #080cdf, #9308DF);

Monochromatic scale

Palettes built from #080cdf

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.

#080cdf 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.

#080cdf, answered

What color is #080cdf?

#080cdf is a balanced electric blue, closest to Medium Blue (ΔE2000 2.8). It sits at 239° on the hue wheel with 93% saturation and 45% lightness, which reads as cool.

What is the RGB value of #080cdf?

rgb(8, 12, 223) — 8 red, 12 green and 223 blue out of 255, or 3.1% / 4.7% / 87.5% by channel.

Is #080cdf a light or a dark color?

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

Should I use black or white text on #080cdf?

White. It scores 9.87:1 against #080cdf, versus 2.13:1 for black — AAA at any size.

What is the complementary color of #080cdf?

#DFDB08 sits directly opposite on the wheel. Softer options are the split-complements #DF7008 and #77DF08, which give the same contrast with far less vibration.

What colors go well with #080cdf?

For interface work: #F4F4FA as the surface, #C0C1ED for borders, #4B4C9B for secondary text, #C99303 as an accent and #04077B for hover and pressed states. For a palette, the analogous pair #0877DF and #7008DF stays calm, while #DFDB08 is the loudest partner.

What is #080cdf in CMYK for printing?

cmyk(96%, 95%, 0%, 13%). 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 #080cdf warm or cool?

Cool — it scores 84 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5308DF; nudged cooler, #0639E1.

Work with #080cdf in the Color Lab