Skip to content

#080c72

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

RGB
8, 12, 114
HSL
238°, 87%, 24%
CMYK
93, 90, 0, 55
Luminance
0.0153

At a glance

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

Hex
#080c72
Hue
238°
blue
Saturation
87%
electric
Lightness
24%
deep
Brightness
45%
HSV value
Perceived
16%
weighted brightness
Luminance
0.0153
WCAG relative
Temperature
Cool
85/100 cool
Color family
Blue
Tone
Electric
Best ink
White
16.08:1
Closest name
Navy
ΔE2000 2.9
Where it sits
Hue238° of 360°
Saturation87%
Lightness24%
Temperature
Warm ← → Cool85% 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#080c72
RGBrgb(8, 12, 114)
HSLhsl(238, 87%, 24%)
CMYKcmyk(93%, 90%, 0%, 55%)
LABlab(12.8 38.5 -56.0)
LCHlch(12.8 67.9 304.5)
OKLCHoklch(0.265 0.162 266.9)
Decimal527474
Display P3color(display-p3 0.031 0.047 0.447)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#080c72 on white: 16.08:1
AA ✓ pass · AA-large · AAA
Aa
#080c72 on black: 1.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #002775
deuteranopia · #001B70
tritanopia · #002F42

Color scale — 50 to 950

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

#F2F2FD
#E5E6FA
#C4C6F7
#969AF8
#6267F4
#2D35F0
#1018E5
#0D14BF
#0B1099
#080c72
#080A45
Base = 900Lightest = 50 · #F2F2FDDarkest = 950 · #080A45
:root {
  --brand-50: #F2F2FD;
  --brand-100: #E5E6FA;
  --brand-200: #C4C6F7;
  --brand-300: #969AF8;
  --brand-400: #6267F4;
  --brand-500: #2D35F0;
  --brand-600: #1018E5;
  --brand-700: #0D14BF;
  --brand-800: #0B1099;
  --brand-900: #080c72;
  --brand-950: #080A45;
  --brand: #080c72;
  --brand-ink: #ffffff;
}

Colors that work with #080c72

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#F4F5FA
Tinted page background
Border#C0C1ED
Hairlines and dividers
Muted text#4B4E9B
Captions on the surface
Accent#745406
Second voice, not a rival
Dark variant#080D77
Hover, pressed, headers
Light variant#E7E8FD
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 #080c72

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#726E08
Analogous left#084172
Analogous right#390872
Split-complement 1#723908
Split-complement 2#417208
Triadic 1#72080C
Triadic 2#0C7208
Tetradic#720841

RGB percentages

Red3.1%
Green4.7%
Blue44.7%

CMYK percentages

Cyan93.0%
Magenta89.5%
Yellow0.0%
Key (black)55.3%

Color previews

#080c72 text on a black background

contrast 1.31:1

Card sample

#080c72 text on a white background

contrast 16.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #080c72

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.

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

#080c72, answered

What color is #080c72?

#080c72 is a deep electric blue, closest to Navy (ΔE2000 2.9). It sits at 238° on the hue wheel with 87% saturation and 24% lightness, which reads as cool.

What is the RGB value of #080c72?

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

Is #080c72 a light or a dark color?

It is a dark color. Relative luminance is 0.0153 and perceived brightness is 16%, so white text on it reaches 16.08:1.

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

White. It scores 16.08:1 against #080c72, versus 1.31:1 for black — AAA at any size.

What is the complementary color of #080c72?

#726E08 sits directly opposite on the wheel. Softer options are the split-complements #723908 and #417208, which give the same contrast with far less vibration.

What colors go well with #080c72?

For interface work: #F4F5FA as the surface, #C0C1ED for borders, #4B4E9B for secondary text, #745406 as an accent and #080D77 for hover and pressed states. For a palette, the analogous pair #084172 and #390872 stays calm, while #726E08 is the loudest partner.

What is #080c72 in CMYK for printing?

cmyk(93%, 90%, 0%, 55%). 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 #080c72 warm or cool?

Cool — it scores 85 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2B0872; nudged cooler, #072973.

Work with #080c72 in the Color Lab