#080139
a deep, electric blue · cool · closest name: Midnight Blue
At a glance
Every number on this page in one read: what #080139 is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #080139 |
| RGB | rgb(8, 1, 57) |
| HSL | hsl(248, 97%, 11%) |
| CMYK | cmyk(86%, 98%, 0%, 78%) |
| LAB | lab(3.3 20.4 -32.6) |
| LCH | lch(3.3 38.5 302.1) |
| OKLCH | oklch(0.167 0.102 274.9) |
| Decimal | 524601 |
| Display P3 | color(display-p3 0.031 0.004 0.224) |
Copy-ready code
/* CSS */
color: #080139;
background-color: #080139;
/* Tailwind (arbitrary) */
class="text-[#080139] bg-[#080139]"
/* SCSS */
$brand: #080139;
/* SwiftUI */
Color(red: 0.031, green: 0.004, blue: 0.224)
/* Android */
Color.parseColor("#080139")
/* Flutter */
Color(0xFF080139)
/* Python / OpenCV (BGR) */
(57, 1, 8)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #080139 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F3F1FD;
--brand-100: #E7E4FC;
--brand-200: #C8C1FB;
--brand-300: #9E91FD;
--brand-400: #6E5AFC;
--brand-500: #3E22FB;
--brand-600: #2204F1;
--brand-700: #1C03C9;
--brand-800: #1603A0;
--brand-900: #140774;
--brand-950: #080139;
--brand: #080139;
--brand-ink: #ffffff;
}Colors that work with #080139
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #080139
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | #323901 | Directly opposite — maximum tension | |
| Analogous left | #011639 | Neighbour, quieter | |
| Analogous right | #240139 | Neighbour, quieter | |
| Split-complement 1 | #392401 | Contrast without the clash | |
| Split-complement 2 | #163901 | Contrast without the clash | |
| Triadic 1 | #390801 | Even thirds — balanced and loud | |
| Triadic 2 | #013908 | Even thirds — balanced and loud | |
| Tetradic | #390116 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#080139 text on a black background
contrast 1.07:1
#080139 text on a white background
contrast 19.56:1
CSS3 live lab
The quick brown fox
color: #080139;
background-color: #080139;
Glowing headline
text-shadow: 2px 2px 8px #080139;
Soft neon halo
text-shadow: 0 0 14px rgba(8, 1, 57, 0.45);
box-shadow: 0 12px 32px -8px rgba(8, 1, 57, 0.45);
border: 3px solid #080139; background: linear-gradient(135deg, #080139, #2D0139);
Monochromatic scale
Palettes built from #080139
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.
Closest color with a full write-up: Midnight Blue (#191970) — ΔE2000 10 away, with its history, psychology and brand usage.
#080139 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#080139, answered
What color is #080139?
#080139 is a deep electric blue, closest to Midnight Blue (ΔE2000 10). It sits at 248° on the hue wheel with 97% saturation and 11% lightness, which reads as cool.
What is the RGB value of #080139?
rgb(8, 1, 57) — 8 red, 1 green and 57 blue out of 255, or 3.1% / 0.4% / 22.4% by channel.
Is #080139 a light or a dark color?
It is a dark color. Relative luminance is 0.0037 and perceived brightness is 8%, so white text on it reaches 19.56:1.
Should I use black or white text on #080139?
White. It scores 19.56:1 against #080139, versus 1.07:1 for black — AAA at any size.
What is the complementary color of #080139?
#323901 sits directly opposite on the wheel. Softer options are the split-complements #392401 and #163901, which give the same contrast with far less vibration.
What colors go well with #080139?
For interface work: #F5F4FA as the surface, #C5C0ED for borders, #554B9B for secondary text, #3A3300 as an accent and #12027D for hover and pressed states. For a palette, the analogous pair #011639 and #240139 stays calm, while #323901 is the loudest partner.
What is #080139 in CMYK for printing?
cmyk(86%, 98%, 0%, 78%). 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 #080139 warm or cool?
Cool — it scores 79 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1D0139; nudged cooler, #000E3A.